Skip to content

Commit f5fa652

Browse files
committed
Configure Class Count
Previously, the class_count memory calculator parameter was not defined in the configuration YAML files where it was legal. This meant that the buildpack automatically discarded any attempt to configure it, as it was not considered a legal value. This change adds the key to the configuration, with an empty value ensure that is configurable with an environment variable and defaults to the calculated value when it is not. [resolves #464]
1 parent 2223f47 commit f5fa652

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

config/open_jdk_jre.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ jvmkill_agent:
2525
memory_calculator:
2626
version: 3.+
2727
repository_root: "{default.repository.root}/memory-calculator/{platform}/{architecture}"
28+
class_count:
2829
stack_threads: 300

config/oracle_jre.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jvmkill_agent:
2828
memory_calculator:
2929
version: 3.+
3030
repository_root: "{default.repository.root}/memory-calculator/{platform}/{architecture}"
31+
class_count:
3132
stack_threads: 300

config/zulu_jre.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jvmkill_agent:
2828
memory_calculator:
2929
version: 3.+
3030
repository_root: "{default.repository.root}/memory-calculator/{platform}/{architecture}"
31+
class_count:
3132
stack_threads: 300

0 commit comments

Comments
 (0)