Lines Matching refs:ResourceObj
54 void* ResourceObj::operator new(size_t size, allocation_type type, MEMFLAGS flags) {
71 void ResourceObj::operator delete(void* p) {
72 assert(((ResourceObj *)p)->allocated_on_C_heap(),
74 DEBUG_ONLY(((ResourceObj *)p)->_allocation_t[0] = (uintptr_t)badHeapOopVal;)
79 void ResourceObj::set_allocation_type(address res, allocation_type type) {
84 ResourceObj* resobj = (ResourceObj *)res;
93 ResourceObj::allocation_type ResourceObj::get_allocation_type() const {
98 bool ResourceObj::is_type_set() const {
104 ResourceObj::ResourceObj() { // default constructor
128 ResourceObj::ResourceObj(const ResourceObj& r) { // default copy constructor
138 ResourceObj& ResourceObj::operator=(const ResourceObj& r) { // default copy assignment
147 ResourceObj::~ResourceObj() {
149 if (!allocated_on_C_heap()) { // ResourceObj::delete() will zap _allocation for C_heap.