Prepend VM startup options from java.base/jdk.internal.vm.options - #23508
Merged
Conversation
JasonFengJ9
force-pushed
the
jimageoption
branch
from
March 13, 2026 13:39
9278216 to
5c26c96
Compare
keithc-ca
requested changes
Mar 16, 2026
JasonFengJ9
force-pushed
the
jimageoption
branch
from
March 16, 2026 20:22
5c26c96 to
488650a
Compare
keithc-ca
requested changes
Mar 17, 2026
JasonFengJ9
force-pushed
the
jimageoption
branch
from
March 17, 2026 14:47
488650a to
bde719e
Compare
keithc-ca
reviewed
Mar 17, 2026
java.base/jdk.internal.vm.options is a resource file in the jimage file modules created via jlink --add-options <options>; Insert these VM options into vm->vmArgsArray before processVMArgsFromFirstToLast(vm); Updated initJImageIntf(), initializeModulesPath() and initializeModulesPathEntry() to be invoked at VM early bootstrap phase when the trace engine hasn't been initialized and the verbose module hasn't been loaded; Modified createJvmInitArgs() to allow insert VM option entries before current J9VMInitArgs; Obsoleted a few trace points. Signed-off-by: Jason Feng <fengj@ca.ibm.com>
JasonFengJ9
force-pushed
the
jimageoption
branch
from
March 17, 2026 21:33
bde719e to
394e5f1
Compare
Contributor
|
Jenkins test sanity,extended amac jdk25 |
Member
Author
This seems an issue generating the core dump file. The core file generation failure doesn't appear related to this PR. |
keithc-ca
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepend VM startup options from
java.base/jdk.internal.vm.optionsjava.base/jdk.internal.vm.optionsis a resource file in the jimage file modules created viajlink --add-options <options>;Insert these VM options into
vm->vmArgsArraybeforeprocessVMArgsFromFirstToLast(vm);Updated
initJImageIntf(),initializeModulesPath()andinitializeModulesPathEntry()to be invoked at VM early bootstrap phase when the trace engine hasn't been initialized and the verbose module hasn't been loaded;Modified
createJvmInitArgs()to allow insert VM option entries before currentJ9VMInitArgs;Obsoleted a few trace points.
Issue: #23031
Signed-off-by: Jason Feng fengj@ca.ibm.com