8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert)
authorshade
Wed, 04 Apr 2018 12:06:31 +0200
changeset 49671 015af70b9a1d
parent 49670 1a1a69219637
child 49672 f1d2b6c0693b
8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert) Reviewed-by: dholmes, tschatzl
src/hotspot/share/utilities/debug.cpp
--- a/src/hotspot/share/utilities/debug.cpp	Wed Apr 04 11:59:48 2018 +0200
+++ b/src/hotspot/share/utilities/debug.cpp	Wed Apr 04 12:06:31 2018 +0200
@@ -731,7 +731,7 @@
     os::protect_memory((char*)g_assert_poison, os::vm_page_size(), os::MEM_PROT_RWX);
     // Store Context away.
     if (ucVoid) {
-      const jlong my_tid = os::current_thread_id();
+      const intx my_tid = os::current_thread_id();
       if (Atomic::cmpxchg(my_tid, &g_asserting_thread, (intx)0) == 0) {
         if (store_context(ucVoid)) {
           g_assertion_context = &g_stored_assertion_context;