< prev index next >

src/share/vm/opto/compile.hpp

Print this page
rev 8802 : G1 performance improvements: card batching, joining, sorting, prefetching and write barrier fence elision and simplification based on a global syncrhonization using handshakes piggybacking on thread-local safepoints.
rev 8803 : Implementation improvements to pass JPRT

@@ -32,10 +32,11 @@
 #include "compiler/compilerOracle.hpp"
 #include "compiler/compileBroker.hpp"
 #include "libadt/dict.hpp"
 #include "libadt/vectset.hpp"
 #include "memory/resourceArea.hpp"
+#include "opto/safepointTable.hpp"
 #include "opto/idealGraphPrinter.hpp"
 #include "opto/phasetype.hpp"
 #include "opto/phase.hpp"
 #include "opto/regmask.hpp"
 #include "runtime/deoptimization.hpp"

@@ -274,10 +275,16 @@
     void    inc_freq(float freq)   {        _freq += freq; }
 
     bool    can_be_reused() const  { return _can_be_reused; }
   };
 
+private:
+  ThreadLocalSafepointTable _tls_table;
+
+public:
+  ThreadLocalSafepointTable *tls_table() { return &_tls_table; }
+
   // Constant table.
   class ConstantTable {
   private:
     GrowableArray<Constant> _constants;          // Constants of this table.
     int                     _size;               // Size in bytes the emitted constant table takes (including padding).
< prev index next >