Undo JDK-8152664 changes [1] which was used for AOT JEP [2] implementation in JDK 9. The code was left in HotSpot assuming it will help in a future. But during work on Leyden for the past year we decided to not use it - cached compiled code will be restored in CodeCache as normal nmethods (no need to change VM's runtime and GC code to process them).
I propose to revertJDK-8152664 change and remove CompiledMethod and CodeBlobLayout classes to simplify `nmethod` class hierarchy.
[1] https://github.com/openjdk/jdk/commit/b853eb7f5ca24eeeda18acbb14287f706499c365
[2] https://openjdk.org/jeps/295
I propose to revert
[1] https://github.com/openjdk/jdk/commit/b853eb7f5ca24eeeda18acbb14287f706499c365
[2] https://openjdk.org/jeps/295
- blocks
-
JDK-8329629 GC interfaces should work directly against nmethod instead of CodeBlob
- Resolved
- relates to
-
JDK-8329433 Reduce nmethod header size
- Resolved
-
JDK-8329628 Additional changes after JDK-8329332
- Resolved
-
JDK-8329629 GC interfaces should work directly against nmethod instead of CodeBlob
- Resolved
-
JDK-8323344 Remove unused `nmethod::_scopes_data_offset`
- Closed
-
JDK-8152664 Support non-continuous CodeBlobs in HotSpot
- Resolved
(1 relates to, 2 links to)