src/hotspot/share/oops/symbol.hpp
changeset 54847 59ea39bb2809
parent 54807 33fe50b6d707
child 54927 1512d88b24c6
equal deleted inserted replaced
54846:e4049522b074 54847:59ea39bb2809
   130     assert(index >=0 && index < length(), "symbol index overflow");
   130     assert(index >=0 && index < length(), "symbol index overflow");
   131     _body[index] = value;
   131     _body[index] = value;
   132   }
   132   }
   133 
   133 
   134   Symbol(const u1* name, int length, int refcount);
   134   Symbol(const u1* name, int length, int refcount);
   135   void* operator new(size_t size, int len, TRAPS) throw();
   135   void* operator new(size_t size, int len) throw();
   136   void* operator new(size_t size, int len, Arena* arena, TRAPS) throw();
   136   void* operator new(size_t size, int len, Arena* arena) throw();
   137 
   137 
   138   void  operator delete(void* p);
   138   void  operator delete(void* p);
   139 
   139 
   140   static int extract_length(uint32_t value)   { return value >> 16; }
   140   static int extract_length(uint32_t value)   { return value >> 16; }
   141   static int extract_refcount(uint32_t value) { return value & 0xffff; }
   141   static int extract_refcount(uint32_t value) { return value & 0xffff; }