Skip to content

Commit f47311f

Browse files
authored
Merge pull request #594 from paketo-buildpacks/fix-591
chore: close #591 rename "Spring AOT Cache"
2 parents b14b0b8 + 5c2edd7 commit f47311f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

buildpack.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ api = "0.7"
8888
[[metadata.configurations]]
8989
build = true
9090
default = "false"
91-
description = "whether to enable Spring AOT Cache & perform JVM training run"
91+
description = "whether to enable JVM AOT Cache & perform JVM training run"
9292
name = "BP_JVM_AOTCACHE_ENABLED"
9393

9494
[[metadata.configurations]]
9595
build = true
9696
default = "false"
97-
description = "whether to enable Spring AOT Cache optimizations at runtime"
97+
description = "whether to enable JVM AOT Cache optimizations at runtime"
9898
name = "BPL_JVM_AOTCACHE_ENABLED"
9999

100100
[[metadata.dependencies]]

helper/spring_performance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (s SpringPerformance) Execute() (map[string]string, error) {
5050
values = append(values, "-XX:SharedArchiveFile=application.jsa")
5151
} else {
5252
if _, errAot := os.Stat(applicationAot); errAot == nil {
53-
s.Logger.Info("Spring AOT Cache Enabled, contributing -XX:AOTCache=application.aot to JAVA_TOOL_OPTIONS")
53+
s.Logger.Info("JVM AOT Cache Enabled, contributing -XX:AOTCache=application.aot to JAVA_TOOL_OPTIONS")
5454
values = append(values, "-XX:AOTCache=application.aot")
5555
} else {
5656
s.Logger.Info("Something went wrong, neither application.jsa nor application.aot found, CDS/AOT Cache optimization disabled")

0 commit comments

Comments
 (0)