[10] RFR: 8183573: Refactor CodeHeap and AOTCodeHeap to devirtualize hot methods

Claes Redestad claes.redestad at oracle.com
Wed Jul 5 18:50:10 UTC 2017


Hi,

we can improve performance of all stack walking operations by refactoring
the AOTCodeHeap and CodeHeap classes so that the contains and contains_blob
methods can be consolidated into one devirtualized implementation each, 
which
allows us to inline the code to determine which code heap a code blob 
resides
in, reducing the number of virtual calls per frame.

Webrev: http://cr.openjdk.java.net/~redestad/8183573/hotspot.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8183573

Testing: JPRT -testset hotspot, all AOT and compiler jtreg tests pass
locally.

Thanks!

/Claes




More information about the hotspot-compiler-dev mailing list