RFR: JDK-8160350 cannot truss jdk9 [solaris]
Gerald Thornbrugh
gerald.thornbrugh at oracle.com
Fri Jul 1 14:29:40 UTC 2016
Hi Alan,
> On 01/07/2016 14:56, Gerald Thornbrugh wrote:
>
>> So the only possible negative aspect of this fix is that customers
>> running JDK9 on a Solaris 8 (or older) will not be able to truss
>> unless they enable microstate accounting manually?
>
> No, truss does not need microstate accounting enabled in order to
> work. It is the JVM's attempt to turn on microstate accounting that
> causes the problem for truss, not whether it's turned on or off in the
> first place. The promotion of G1 to the default GC in Java9 has caused
> this issue to become more visible as it is the only thing in the JVM
> that uses the (to-be-removed) code in question.
Thanks for the clarification.
>
>> I am ok with this but it might be nice to add a JDK9 release note about
>> this change.
>
> AFAIK Java9 won't be supported on Solaris 9 anyway, so I'm not sure
> there is any benefit in doing that, it's more likely to cause
> confusion than anything else.
OK, I agree.
>
>> Your changes look good to me.
>
> Thanks!
>
Your change looks fine without any additional changes.
Jerry
More information about the hotspot-dev
mailing list