RFR(XS): 8223968: Add abort type description to RTM statistic counters

Doerr, Martin martin.doerr at sap.com
Tue Dec 10 09:43:06 UTC 2019


+1

Thanks,
Martin

> -----Original Message-----
> From: Vladimir Kozlov <vladimir.kozlov at oracle.com>
> Sent: Dienstag, 10. Dezember 2019 01:53
> To: Gustavo Romero <gromero at linux.vnet.ibm.com>; Doerr, Martin
> <martin.doerr at sap.com>; hotspot-compiler-dev at openjdk.java.net
> Subject: Re: RFR(XS): 8223968: Add abort type description to RTM statistic
> counters
> 
> v2 looks good to me.
> 
> Thanks,
> Vladimir
> 
> On 12/9/19 2:05 PM, Gustavo Romero wrote:
> > Hi Martin,
> >
> > On 12/09/2019 11:06 AM, Doerr, Martin wrote:
> >> nice improvement!
> >
> > =)
> >
> > Thanks for the quick review!
> >
> >
> >> I'd only make the message array static:
> >> static const char* _abortX_desc[ABORT_STATUS_LIMIT];
> >>
> >> +const char*
> RTMLockingCounters::_abortX_desc[ABORT_STATUS_LIMIT] = {
> >> +  "abort instruction   ",
> >> +  "may succeed on retry",
> >> +  "thread conflict     ",
> >> +  "buffer overflow     ",
> >> +  "debug or trap hit   ",
> >> +  "maximum nested depth"
> >> +};
> >
> > oh... sure. Done.
> >
> >
> >> Please update the copyright in the test.
> >
> > Done.
> >
> >
> > v2:
> >
> > http://cr.openjdk.java.net/~gromero/8223968/v2/
> >
> >
> > Best regards,
> > Gustavo


More information about the hotspot-compiler-dev mailing list