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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Jul 5 19:00:11 UTC 2017


Looks good. Thank you, Claes, for optimizing it.

Vladimir

On 7/5/17 11:50 AM, Claes Redestad wrote:
> 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