Zero broken again, probably due to JDK-8189871 (original) (raw)

Roman Kennke rkennke at redhat.com
Tue Nov 21 14:15:27 UTC 2017


Am 21.11.2017 um 15:12 schrieb John Paul Adrian Glaubitz:

Which got broken by JDK-8189170. Complete fix is: glaubitz at z6:..upstream/hs> hg diff diff -r 1f77dcf5577e src/hotspot/oscpu/linuxzero/oslinuxzero.cpp --- a/src/hotspot/oscpu/linuxzero/oslinuxzero.cpp Tue Nov 21 13:48:28 2017 +0100 +++ b/src/hotspot/oscpu/linuxzero/oslinuxzero.cpp Tue Nov 21 15:12:03 2017 +0100 @@ -372,7 +372,7 @@ // The initial thread has a growable stack, and the size reported // by pthreadattrgetstack is the maximum size it could possibly // be given what currently mapped. This can be huge, so we cap it. - if (os::Linux::isinitialthread()) { + if (os::isprimordialthread()) { stackbytes = stacktop - stackbottom; if (stackbytes > JavaThread::stacksizeatcreate()) diff -r 1f77dcf5577e src/hotspot/share/oops/accessBackend.hpp --- a/src/hotspot/share/oops/accessBackend.hpp Tue Nov 21 13:48:28 2017 +0100 +++ b/src/hotspot/share/oops/accessBackend.hpp Tue Nov 21 15:12:03 2017 +0100 @@ -82,7 +82,7 @@ #ifdef SUPPORTSNATIVECX8 struct PossiblyLockedAccess: public IntegralConstant<bool, false> {}; #else - struct PossiblyLockedAccess: public IntegralConstant<bool, (sizeof(T) > 4)>::value> {}; + struct PossiblyLockedAccess: public IntegralConstant<bool, (sizeof(T) > 4)> {}; #endif template <DecoratorSet decorators, typename T> glaubitz at z6:..upstream/hs> I have filed JDK-8191663 and will push a webrev shortly.

You are fast! :-) Thanks!

Roman



More information about the hotspot-dev mailing list