< prev index next >

src/hotspot/share/runtime/handles.hpp

Print this page




 279   ~NoHandleMark();
 280 #else
 281   NoHandleMark()  {}
 282   ~NoHandleMark() {}
 283 #endif
 284 };
 285 
 286 
 287 class ResetNoHandleMark: public StackObj {
 288   int _no_handle_mark_nesting;
 289  public:
 290 #ifdef ASSERT
 291   ResetNoHandleMark();
 292   ~ResetNoHandleMark();
 293 #else
 294   ResetNoHandleMark()  {}
 295   ~ResetNoHandleMark() {}
 296 #endif
 297 };
 298 













 299 #endif // SHARE_VM_RUNTIME_HANDLES_HPP


 279   ~NoHandleMark();
 280 #else
 281   NoHandleMark()  {}
 282   ~NoHandleMark() {}
 283 #endif
 284 };
 285 
 286 
 287 class ResetNoHandleMark: public StackObj {
 288   int _no_handle_mark_nesting;
 289  public:
 290 #ifdef ASSERT
 291   ResetNoHandleMark();
 292   ~ResetNoHandleMark();
 293 #else
 294   ResetNoHandleMark()  {}
 295   ~ResetNoHandleMark() {}
 296 #endif
 297 };
 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 
 312 #endif // SHARE_VM_RUNTIME_HANDLES_HPP
< prev index next >