Zero broken again, probably due to JDK-8189871

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Nov 21 14:01:07 UTC 2017


On 11/21/2017 02:56 PM, John Paul Adrian Glaubitz wrote:
> #ifdef SUPPORTS_NATIVE_CX8
>   struct PossiblyLockedAccess: public IntegralConstant<bool, false> {};
> #else
>   struct PossiblyLockedAccess: public IntegralConstant<bool, (sizeof(T) > 4)>::value> {}; // line 85
> #endif

This fixes it:

glaubitz at z6:..upstream/hs> hg diff
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:00:24 2017 +0100
@@ -82,7 +82,7 @@
 #ifdef SUPPORTS_NATIVE_CX8
   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>

But then I still have:

=== Output from failing command(s) repeated here ===
/usr/bin/printf "* For target hotspot_variant-zero_libjvm_objs_os_linux_zero.o:\n"
* For target hotspot_variant-zero_libjvm_objs_os_linux_zero.o:
(/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/upstream/hs/build/linux-x86_64-normal-zero-release/make-support/failure-logs/hotspot_variant-zero_libjvm_objs_os_linux_zero.o.log || true) | /usr/bin/head -n 12
/home/glaubitz/upstream/hs/src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp: In function ‘void current_stack_region(u_char**, size_t*)’:
/home/glaubitz/upstream/hs/src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp:375:18: error: ‘is_initial_thread’ is not a member of ‘os::Linux’
   if (os::Linux::is_initial_thread()) {
                  ^~~~~~~~~~~~~~~~~
if test `/usr/bin/wc -l < /home/glaubitz/upstream/hs/build/linux-x86_64-normal-zero-release/make-support/failure-logs/hotspot_variant-zero_libjvm_objs_os_linux_zero.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
/usr/bin/printf "\n* All command lines available in /home/glaubitz/upstream/hs/build/linux-x86_64-normal-zero-release/make-support/failure-logs.\n"

* All command lines available in /home/glaubitz/upstream/hs/build/linux-x86_64-normal-zero-release/make-support/failure-logs.
/usr/bin/printf "=== End of repeated output ===\n"
=== End of repeated output ===

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list