hotspot/src/share/vm/classfile/dictionary.cpp
changeset 33148 68fa8b6c4340
parent 31592 43f48e165466
child 33602 16053580a684
equal deleted inserted replaced
33146:77349b58b4c0 33148:68fa8b6c4340
    29 #include "oops/oop.inline.hpp"
    29 #include "oops/oop.inline.hpp"
    30 #include "prims/jvmtiRedefineClassesTrace.hpp"
    30 #include "prims/jvmtiRedefineClassesTrace.hpp"
    31 #include "runtime/orderAccess.inline.hpp"
    31 #include "runtime/orderAccess.inline.hpp"
    32 #include "utilities/hashtable.inline.hpp"
    32 #include "utilities/hashtable.inline.hpp"
    33 
    33 
    34 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
       
    35 
       
    36 DictionaryEntry*  Dictionary::_current_class_entry = NULL;
    34 DictionaryEntry*  Dictionary::_current_class_entry = NULL;
    37 int               Dictionary::_current_class_index =    0;
    35 int               Dictionary::_current_class_index =    0;
    38 
    36 
    39 
    37 
    40 Dictionary::Dictionary(int table_size)
    38 Dictionary::Dictionary(int table_size)
   556   }
   554   }
   557 }
   555 }
   558 
   556 
   559 void ProtectionDomainCacheEntry::print() {
   557 void ProtectionDomainCacheEntry::print() {
   560   tty->print_cr("entry " PTR_FORMAT " value " PTR_FORMAT " strongly_reachable %d next " PTR_FORMAT,
   558   tty->print_cr("entry " PTR_FORMAT " value " PTR_FORMAT " strongly_reachable %d next " PTR_FORMAT,
   561                 this, (void*)literal(), _strongly_reachable, next());
   559                 p2i(this), p2i(literal()), _strongly_reachable, p2i(next()));
   562 }
   560 }
   563 #endif
   561 #endif
   564 
   562 
   565 void ProtectionDomainCacheTable::verify() {
   563 void ProtectionDomainCacheTable::verify() {
   566   int element_count = 0;
   564   int element_count = 0;