Lines Matching defs:ResourceMark
47 // ResourceMark rm;
54 // A ResourceArea is an Arena that supports safe usage of ResourceMark.
56 friend class ResourceMark;
74 fatal("memory leak: allocating without ResourceMark");
88 //------------------------------ResourceMark-----------------------------------
91 class ResourceMark: public StackObj {
110 ResourceMark(Thread *thread) {
115 ResourceMark(Thread *thread);
118 ResourceMark() { initialize(Thread::current()); }
120 ResourceMark( ResourceArea *r ) :
147 ~ResourceMark() {
183 // special need for a ResourceMark. If ResourceMark simply inherited from CHeapObj
186 // misuse so we simple duplicate the ResourceMark functionality here.