changeset 49680:015af70b9a1d

8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert) Reviewed-by: dholmes, tschatzl
author shade
date Wed, 04 Apr 2018 12:06:31 +0200
parents 1a1a69219637
children f1d2b6c0693b
files src/hotspot/share/utilities/debug.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;