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
VM snapshotting is tested and functional (however limited) on JDK 8 and JDK 11 (both of which currently use OpenJ9 Method Handles (MH) by default). From JDK 17 and on, OpenJDK Method Handles are used by default.
I have seen an issue when testing on JDK 17+ where OpenJDK MH specific code is functioning incorrectly when snapshotting is enabled. Namely, addMemberNameToClass walks over J9Class::memberNames that consists of J9MemberNameListNodes. However, the J9MemberNameListNode::memberName is in an invalid state s.t. this line fails with a seg fault.
I think the MemberNames need to be added to the VM snapshot and/or fixed up when writing J9Classes to the snapshot, and handled appropriately on restore.
The text was updated successfully, but these errors were encountered:
VM snapshotting is tested and functional (however limited) on JDK 8 and JDK 11 (both of which currently use OpenJ9 Method Handles (MH) by default). From JDK 17 and on, OpenJDK Method Handles are used by default.
I have seen an issue when testing on JDK 17+ where OpenJDK MH specific code is functioning incorrectly when snapshotting is enabled. Namely,
addMemberNameToClass
walks overJ9Class::memberNames
that consists ofJ9MemberNameListNodes
. However, theJ9MemberNameListNode::memberName
is in an invalid state s.t. this line fails with a seg fault.I think the
MemberName
s need to be added to the VM snapshot and/or fixed up when writingJ9Class
es to the snapshot, and handled appropriately on restore.The text was updated successfully, but these errors were encountered: