(0.48) -agentpath: libraries require no path/name decoration & Refactor a few CRIU APIs to take J9JavaVM* instead of J9VMThread* #20287
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.
-agentpath:
libraries require no path/name decorationThe agent library specified via
-agentpath:
has an absolute path/name, it should not be decorated again during the agent library loading;For
-agentpath:
option in the restore option file, compare the actual platform-dependent library name.Cherry-pick
Refactor a few CRIU APIs to take
J9JavaVM*
instead ofJ9VMThread*
The currentThread passed into
isCRaCorCRIUSupportEnabled(J9VMThread*)
,isCheckpointAllowed(J9VMThread*)
andisDebugOnRestoreEnabled(J9VMThread*)
are just for redirection ofcurrentThread->javaVM
, changed the APIs to takeJ9JavaVM*
directly.Cherry-pick
Note: these two PRs were in last night's builds, and no failure seems related to those changes.
In addition, there were merging conflicts, verified in a personal build JDK17_x86-64_linux.
Signed-off-by: Jason Feng [email protected]