src/hotspot/share/runtime/handles.hpp
changeset 49449 ef5d5d343e2a
parent 49393 93fe2fc5c093
child 49658 8237a91c1cca
equal deleted inserted replaced
49448:b91b558a9076 49449:ef5d5d343e2a
   294   ResetNoHandleMark()  {}
   294   ResetNoHandleMark()  {}
   295   ~ResetNoHandleMark() {}
   295   ~ResetNoHandleMark() {}
   296 #endif
   296 #endif
   297 };
   297 };
   298 
   298 
       
   299 // The HandleMarkCleaner is a faster version of HandleMark.
       
   300 // It relies on the fact that there is a HandleMark further
       
   301 // down the stack (in JavaCalls::call_helper), and just resets
       
   302 // to the saved values in that HandleMark.
       
   303 
       
   304 class HandleMarkCleaner: public StackObj {
       
   305  private:
       
   306   Thread* _thread;
       
   307  public:
       
   308   inline HandleMarkCleaner(Thread* thread);
       
   309   inline ~HandleMarkCleaner();
       
   310 };
       
   311 
   299 #endif // SHARE_VM_RUNTIME_HANDLES_HPP
   312 #endif // SHARE_VM_RUNTIME_HANDLES_HPP