src/hotspot/share/utilities/debug.cpp
changeset 49671 015af70b9a1d
parent 49653 a569cb4425f3
child 49857 31e07291ae29
--- 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;