To support replay compilation based on recording/replaying JVMCI calls in the GraalVM compiler, a few refactorings are required:
- Add missing getters to allow creating copies of objects and to enable serialization support - `BytecodeFrame`, `HotSpotCompiledCode`, `HotSpotCompiledNmethod`, etc.
- Add public/protected modifiers to allow creating instances and overriding classes outside of JVMCI - `HotSpotResolvedJavaType`, `VMField`, etc.
- Fix the hashCode and equals methods needed to compare JVMCI objects when replaying a compilation - `Site`, `VirtualObject`.
- Add missing getters to allow creating copies of objects and to enable serialization support - `BytecodeFrame`, `HotSpotCompiledCode`, `HotSpotCompiledNmethod`, etc.
- Add public/protected modifiers to allow creating instances and overriding classes outside of JVMCI - `HotSpotResolvedJavaType`, `VMField`, etc.
- Fix the hashCode and equals methods needed to compare JVMCI objects when replaying a compilation - `Site`, `VirtualObject`.
- links to
-
Commit(master) openjdk/jdk/963b83fc
-
Review(master) openjdk/jdk/25433