RFR -Make NMT a bit friendlier to work with

Nils Loodin nils.loodin at oracle.com
Fri Sep 21 01:36:23 PDT 2012


On 09/20/2012 08:14 PM, Srinivas Ramakrishna wrote:
> Isn't that because there was an "8" instead of a "7" for the second
> comparison. Otherwise, like the previous one the comparison
> would stop at the nth character and ignore the suffix (in yr case the
> "s"). I think your change is good, but for consistency wrt the
> existing you should probably change the length of each comparison to the
> string being compared with in each case to preserve the
> existRight. I'll change thating "OK if prefixes match" property everywhere.
>
> reviewed.
> -- ramki (openjdk: ysr)

Ah, well that's true. However, it would have still silently swallowed 
the case where I mistakenly put  '=derail' instead :)

I'll change the length of the string comparison!

/Nisse


More information about the hotspot-runtime-dev mailing list