While working on a prototype to clean up ReservedSpace (JDK-8345655) I noticed that the code that reserves the code heap first aligns the committed memory size towards small pages and then aligns it against the page size that was set up for the ReservedSpace. I suggest that just align to the latter immediately.
- links to
-
Commit(master) openjdk/jdk/2382a2de
-
Review(master) openjdk/jdk/22604