hotspot/src/share/vm/classfile/classLoader.cpp
changeset 27926 0e2e188ab887
parent 27711 0b952ebd3953
parent 27883 3179632c8f66
child 29076 4a5f7c1e6ed7
equal deleted inserted replaced
27862:3107be2ba9c6 27926:0e2e188ab887
   163   }
   163   }
   164 }
   164 }
   165 
   165 
   166 
   166 
   167 MetaIndex::~MetaIndex() {
   167 MetaIndex::~MetaIndex() {
   168   FREE_C_HEAP_ARRAY(char*, _meta_package_names, mtClass);
   168   FREE_C_HEAP_ARRAY(char*, _meta_package_names);
   169 }
   169 }
   170 
   170 
   171 
   171 
   172 bool MetaIndex::may_contain(const char* class_name) {
   172 bool MetaIndex::may_contain(const char* class_name) {
   173   if ( _num_meta_package_names == 0) {
   173   if ( _num_meta_package_names == 0) {
   249 
   249 
   250 ClassPathZipEntry::~ClassPathZipEntry() {
   250 ClassPathZipEntry::~ClassPathZipEntry() {
   251   if (ZipClose != NULL) {
   251   if (ZipClose != NULL) {
   252     (*ZipClose)(_zip);
   252     (*ZipClose)(_zip);
   253   }
   253   }
   254   FREE_C_HEAP_ARRAY(char, _zip_name, mtClass);
   254   FREE_C_HEAP_ARRAY(char, _zip_name);
   255 }
   255 }
   256 
   256 
   257 u1* ClassPathZipEntry::open_entry(const char* name, jint* filesize, bool nul_terminate, TRAPS) {
   257 u1* ClassPathZipEntry::open_entry(const char* name, jint* filesize, bool nul_terminate, TRAPS) {
   258     // enable call to C land
   258     // enable call to C land
   259   JavaThread* thread = JavaThread::current();
   259   JavaThread* thread = JavaThread::current();