src/os/solaris/dtrace/generateJvmOffsets.cpp

Print this page




  21  * questions.
  22  *
  23  */
  24 
  25 /*
  26  * This is to provide sanity check in jhelper.d which compares SCCS
  27  * versions of generateJvmOffsets.cpp used to create and extract
  28  * contents of __JvmOffsets[] table.
  29  * The __JvmOffsets[] table is located in generated JvmOffsets.cpp.
  30  *
  31  * GENOFFS_SCCS_VER 34
  32  */
  33 
  34 #include "generateJvmOffsets.h"
  35 
  36 /* A workaround for private and protected fields */
  37 #define private   public
  38 #define protected public
  39 
  40 #include <proc_service.h>
  41 #include "incls/_precompiled.incl"
  42 #include "incls/_vmStructs.cpp.incl"
  43 













  44 #ifdef COMPILER1
  45 #if defined(DEBUG) || defined(FASTDEBUG)
  46 
  47 /*
  48  * To avoid the most part of potential link errors
  49  * we link this program with -z nodefs .
  50  *
  51  * But for 'debug1' and 'fastdebug1' we still have to provide
  52  * a particular workaround for the following symbols bellow.
  53  * It will be good to find out a generic way in the future.
  54  */
  55 
  56 #pragma weak tty
  57 #pragma weak CMSExpAvgFactor
  58 
  59 #if defined(i386) || defined(__i386) || defined(__amd64)
  60 #pragma weak noreg
  61 #endif /* i386 */
  62 
  63 LIR_Opr LIR_OprFact::illegalOpr = (LIR_Opr) 0;




  21  * questions.
  22  *
  23  */
  24 
  25 /*
  26  * This is to provide sanity check in jhelper.d which compares SCCS
  27  * versions of generateJvmOffsets.cpp used to create and extract
  28  * contents of __JvmOffsets[] table.
  29  * The __JvmOffsets[] table is located in generated JvmOffsets.cpp.
  30  *
  31  * GENOFFS_SCCS_VER 34
  32  */
  33 
  34 #include "generateJvmOffsets.h"
  35 
  36 /* A workaround for private and protected fields */
  37 #define private   public
  38 #define protected public
  39 
  40 #include <proc_service.h>
  41 #include "code/codeBlob.hpp"
  42 #include "code/nmethod.hpp"
  43 #include "code/pcDesc.hpp"
  44 #include "gc_interface/collectedHeap.hpp"
  45 #include "memory/heap.hpp"
  46 #include "memory/memRegion.hpp"
  47 #include "memory/universe.hpp"
  48 #include "oops/constMethodOop.hpp"
  49 #include "oops/klass.hpp"
  50 #include "oops/methodOop.hpp"
  51 #include "oops/oop.hpp"
  52 #include "oops/symbolOop.hpp"
  53 #include "runtime/virtualspace.hpp"
  54 #include "runtime/vmStructs.hpp"
  55 #include "utilities/accessFlags.hpp"
  56 #include "utilities/globalDefinitions.hpp"
  57 #ifdef COMPILER1
  58 #if defined(DEBUG) || defined(FASTDEBUG)
  59 
  60 /*
  61  * To avoid the most part of potential link errors
  62  * we link this program with -z nodefs .
  63  *
  64  * But for 'debug1' and 'fastdebug1' we still have to provide
  65  * a particular workaround for the following symbols bellow.
  66  * It will be good to find out a generic way in the future.
  67  */
  68 
  69 #pragma weak tty
  70 #pragma weak CMSExpAvgFactor
  71 
  72 #if defined(i386) || defined(__i386) || defined(__amd64)
  73 #pragma weak noreg
  74 #endif /* i386 */
  75 
  76 LIR_Opr LIR_OprFact::illegalOpr = (LIR_Opr) 0;