hotspot/src/share/vm/runtime/thread.hpp
changeset 8110 c992c8d52344
parent 8107 78e5bd944384
child 9437 9981851b4b8c
equal deleted inserted replaced
8109:26c288ddbec3 8110:c992c8d52344
  1678     low_addr = stack_yellow_zone_base();
  1678     low_addr = stack_yellow_zone_base();
  1679   }
  1679   }
  1680   return cur_sp > low_addr ? cur_sp - low_addr : 0;
  1680   return cur_sp > low_addr ? cur_sp - low_addr : 0;
  1681 }
  1681 }
  1682 
  1682 
  1683 // A JavaThread for low memory detection support
       
  1684 class LowMemoryDetectorThread : public JavaThread {
       
  1685   friend class VMStructs;
       
  1686 public:
       
  1687   LowMemoryDetectorThread(ThreadFunction entry_point) : JavaThread(entry_point) {};
       
  1688 
       
  1689   // Hide this thread from external view.
       
  1690   bool is_hidden_from_external_view() const      { return true; }
       
  1691 };
       
  1692 
       
  1693 // A thread used for Compilation.
  1683 // A thread used for Compilation.
  1694 class CompilerThread : public JavaThread {
  1684 class CompilerThread : public JavaThread {
  1695   friend class VMStructs;
  1685   friend class VMStructs;
  1696  private:
  1686  private:
  1697   CompilerCounters* _counters;
  1687   CompilerCounters* _counters;