MCPcopy Index your code
hub / github.com/cloudfoundry/java-buildpack / NewSapMachineJRE

Function NewSapMachineJRE

src/java/jres/sapmachine.go:9–13  ·  view source on GitHub ↗

NewSapMachineJRE creates a new SAP Machine JRE provider.

(ctx *common.Context)

Source from the content-addressed store, hash-verified

7
8// NewSapMachineJRE creates a new SAP Machine JRE provider.
9func NewSapMachineJRE(ctx *common.Context) *SapMachineJRE {
10 b := newBaseJRE(ctx, "SapMachine", "sapmachine", []string{"sapmachine"}, nil, "")
11 b.extraFinalizeOpts = func() string { return "-XX:ActiveProcessorCount=$(nproc)" }
12 return &SapMachineJRE{b}
13}

Callers 3

jre_test.goFile · 0.92
RegisterStandardJREsMethod · 0.85

Calls 1

newBaseJREFunction · 0.85

Tested by

no test coverage detected