RFR(XXXS): 8005772: Bad compile ID in phase events

Christian Thalinger christian.thalinger at oracle.com
Wed Feb 13 11:54:17 PST 2013


On Feb 13, 2013, at 1:50 AM, Nils Eliasson <nils.eliasson at oracle.com> wrote:

> Please review this change:
> 
> Webrev: http://cr.openjdk.java.net/~neliasso/8005772/webrev.01/
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8005772
> 
> This change makes stub-compilation report 0 as compile ID. The rationale is to reserve -1 for uninitialized or bad values and 0 for places where the compile id is unavailable. All valid compile IDs begin at 1.

I checked the code for places where compile_id is used.  It seems it's safe to make use 0.

-- Chris

> 
> Thanks,
> Nils Eliasson



More information about the hotspot-compiler-dev mailing list