< prev index next >

src/hotspot/share/utilities/debug.cpp

Print this page
rev 56464 : 8231707: Improve Mutex inlining
Contributed-by: robbin.ehn@oracle.com, claes.redestad@oracle.com


  37 #include "memory/allocation.hpp"
  38 #include "memory/resourceArea.hpp"
  39 #include "memory/universe.hpp"
  40 #include "oops/oop.inline.hpp"
  41 #include "runtime/arguments.hpp"
  42 #include "runtime/atomic.hpp"
  43 #include "runtime/flags/flagSetting.hpp"
  44 #include "runtime/frame.inline.hpp"
  45 #include "runtime/handles.inline.hpp"
  46 #include "runtime/java.hpp"
  47 #include "runtime/os.hpp"
  48 #include "runtime/sharedRuntime.hpp"
  49 #include "runtime/stubCodeGenerator.hpp"
  50 #include "runtime/stubRoutines.hpp"
  51 #include "runtime/thread.inline.hpp"
  52 #include "runtime/vframe.hpp"
  53 #include "runtime/vm_version.hpp"
  54 #include "services/heapDumper.hpp"
  55 #include "services/memTracker.hpp"
  56 #include "utilities/defaultStream.hpp"
  57 #include "utilities/events.hpp"
  58 #include "utilities/formatBuffer.hpp"
  59 #include "utilities/globalDefinitions.hpp"
  60 #include "utilities/macros.hpp"
  61 #include "utilities/vmError.hpp"
  62 
  63 #include <stdio.h>
  64 #include <stdarg.h>
  65 
  66 // Support for showing register content on asserts/guarantees.
  67 #ifdef CAN_SHOW_REGISTERS_ON_ASSERT
  68 static char g_dummy;
  69 char* g_assert_poison = &g_dummy;
  70 static intx g_asserting_thread = 0;
  71 static void* g_assertion_context = NULL;
  72 #endif // CAN_SHOW_REGISTERS_ON_ASSERT
  73 
  74 #ifndef ASSERT
  75 #  ifdef _DEBUG
  76    // NOTE: don't turn the lines below into a comment -- if you're getting
  77    // a compile error here, change the settings to define ASSERT




  37 #include "memory/allocation.hpp"
  38 #include "memory/resourceArea.hpp"
  39 #include "memory/universe.hpp"
  40 #include "oops/oop.inline.hpp"
  41 #include "runtime/arguments.hpp"
  42 #include "runtime/atomic.hpp"
  43 #include "runtime/flags/flagSetting.hpp"
  44 #include "runtime/frame.inline.hpp"
  45 #include "runtime/handles.inline.hpp"
  46 #include "runtime/java.hpp"
  47 #include "runtime/os.hpp"
  48 #include "runtime/sharedRuntime.hpp"
  49 #include "runtime/stubCodeGenerator.hpp"
  50 #include "runtime/stubRoutines.hpp"
  51 #include "runtime/thread.inline.hpp"
  52 #include "runtime/vframe.hpp"
  53 #include "runtime/vm_version.hpp"
  54 #include "services/heapDumper.hpp"
  55 #include "services/memTracker.hpp"
  56 #include "utilities/defaultStream.hpp"
  57 #include "utilities/events.inline.hpp"
  58 #include "utilities/formatBuffer.hpp"
  59 #include "utilities/globalDefinitions.hpp"
  60 #include "utilities/macros.hpp"
  61 #include "utilities/vmError.hpp"
  62 
  63 #include <stdio.h>
  64 #include <stdarg.h>
  65 
  66 // Support for showing register content on asserts/guarantees.
  67 #ifdef CAN_SHOW_REGISTERS_ON_ASSERT
  68 static char g_dummy;
  69 char* g_assert_poison = &g_dummy;
  70 static intx g_asserting_thread = 0;
  71 static void* g_assertion_context = NULL;
  72 #endif // CAN_SHOW_REGISTERS_ON_ASSERT
  73 
  74 #ifndef ASSERT
  75 #  ifdef _DEBUG
  76    // NOTE: don't turn the lines below into a comment -- if you're getting
  77    // a compile error here, change the settings to define ASSERT


< prev index next >