src/share/vm/utilities/events.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_headers_only Sdiff src/share/vm/utilities

src/share/vm/utilities/events.cpp

Print this page
rev 2694 : imported patch headers_only


  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "memory/allocation.inline.hpp"
  27 #include "runtime/mutexLocker.hpp"
  28 #include "runtime/osThread.hpp"
  29 #include "runtime/threadLocalStorage.hpp"
  30 #include "runtime/timer.hpp"
  31 #include "utilities/events.hpp"
  32 #ifdef TARGET_OS_FAMILY_linux
  33 # include "thread_linux.inline.hpp"
  34 #endif
  35 #ifdef TARGET_OS_FAMILY_solaris
  36 # include "thread_solaris.inline.hpp"
  37 #endif
  38 #ifdef TARGET_OS_FAMILY_windows
  39 # include "thread_windows.inline.hpp"
  40 #endif



  41 
  42 
  43 #ifndef PRODUCT
  44 
  45 ////////////////////////////////////////////////////////////////////////////
  46 // Event
  47 
  48 typedef u4 EventID;
  49 
  50 class Event VALUE_OBJ_CLASS_SPEC  {
  51  private:
  52   jlong       _time_tick;
  53   intx        _thread_id;
  54   const char* _format;
  55   int         _indent;
  56   intptr_t    _arg_1;
  57   intptr_t    _arg_2;
  58   intptr_t    _arg_3;
  59 
  60   // only EventBuffer::add_event() can assign event id




  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "memory/allocation.inline.hpp"
  27 #include "runtime/mutexLocker.hpp"
  28 #include "runtime/osThread.hpp"
  29 #include "runtime/threadLocalStorage.hpp"
  30 #include "runtime/timer.hpp"
  31 #include "utilities/events.hpp"
  32 #ifdef TARGET_OS_FAMILY_linux
  33 # include "thread_linux.inline.hpp"
  34 #endif
  35 #ifdef TARGET_OS_FAMILY_solaris
  36 # include "thread_solaris.inline.hpp"
  37 #endif
  38 #ifdef TARGET_OS_FAMILY_windows
  39 # include "thread_windows.inline.hpp"
  40 #endif
  41 #ifdef TARGET_OS_FAMILY_bsd
  42 # include "thread_bsd.inline.hpp"
  43 #endif
  44 
  45 
  46 #ifndef PRODUCT
  47 
  48 ////////////////////////////////////////////////////////////////////////////
  49 // Event
  50 
  51 typedef u4 EventID;
  52 
  53 class Event VALUE_OBJ_CLASS_SPEC  {
  54  private:
  55   jlong       _time_tick;
  56   intx        _thread_id;
  57   const char* _format;
  58   int         _indent;
  59   intptr_t    _arg_1;
  60   intptr_t    _arg_2;
  61   intptr_t    _arg_3;
  62 
  63   // only EventBuffer::add_event() can assign event id


src/share/vm/utilities/events.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File