RFR(S) 8241004: NMT tests fail on unalinged thread size with debug build

David Holmes david.holmes at oracle.com
Wed May 13 05:44:16 UTC 2020


Hi Boris,

On 7/05/2020 10:50 pm, boris wrote:
> Hi,
> 
> Please review the following change.
> 
> http://cr.openjdk.java.net/~bulasevich/8241004/webrev.00
> http://bugs.openjdk.java.net/browse/JDK-8241004
> 
> The stack size created by the implementation of the pthread library is 
> not necessarily page aligned. It is weird, but it is not forbidden: the 
> pthread library may add some gap on it own. My change removes stack size 
> alignment assert checks

That seems fine to me.

> and tunes NMT committed range calculation for 
> the case of unaligned stack size.

I'm not familiar with this part though so need others to comment.

Thanks,
David

> thanks,
> Boris


More information about the hotspot-runtime-dev mailing list