[9] RFR(XS): 8068505: interpreter profiling incorrect on PPC

Zoltán Majó zoltan.majo at oracle.com
Tue Jan 6 13:45:18 UTC 2015


Hi,


I've recently looked at the PPC port in hotspot and I noticed the 
following small problem.

Problem: The method 
TemplateInterpreterGenerator::generate_counter_incr() increments method 
invocations counters on all supported architectures, except on PPC (w/ 
tiered compilation enabled). As a result, methods might be  compiled 
later and OSR happens sooner than specified by compilation thresholds.

Solution: Change generate_counter_incr() in templateInterpreter_ppc.cpp 
to use invocation counters instead of backedge counters.

Webrev: http://cr.openjdk.java.net/~zmajo/8068505/webrev.00/

JDK Bug: https://bugs.openjdk.java.net/browse/JDK-8068505

I was not able to test the change as I don't have access to appropriate 
infrastructure.

Maybe this is the wrong list to send this RFR to. If yes, could you 
please tell me where to send it?

Thank you and best regards,


Zoltan



More information about the ppc-aix-port-dev mailing list