You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paths through BytecodeInterpreter.cpp and FastJNI_com_ibm_oti_vm_VM.cpp do not properly restore the extensionClassLoader on restore runs when VM snapshotting is enabled. This has unwanted downstream consequences, e.g. causing failures during GC marking (assertion failures, unexpected null references).
Rather than allocating a new class loader through these paths, the persisted class loader should be initialized with initializeSnapshotClassLoaderObject.
The text was updated successfully, but these errors were encountered:
This patch properly initializes the extensionClassLoader on
restore runs through the paths in BytecodeInterpreter.hpp and
FastJNI_com_ibm_oti_vm_VM.cpp rather than, incorrectly, allocating
a new class loader.
Fixes: eclipse-openj9#20861
Signed-off-by: Nathan Henderson <[email protected]>
Paths through
BytecodeInterpreter.cpp
andFastJNI_com_ibm_oti_vm_VM.cpp
do not properly restore theextensionClassLoader
on restore runs when VM snapshotting is enabled. This has unwanted downstream consequences, e.g. causing failures during GC marking (assertion failures, unexpected null references).Rather than allocating a new class loader through these paths, the persisted class loader should be initialized with
initializeSnapshotClassLoaderObject
.The text was updated successfully, but these errors were encountered: