hotspot/src/share/vm/classfile/classLoaderData.cpp
changeset 28163 322d55d167be
parent 27694 543f6042c268
child 28365 ccf31849c7a4
equal deleted inserted replaced
28023:a4075664328d 28163:322d55d167be
    79   // The null-class-loader should always be kept alive.
    79   // The null-class-loader should always be kept alive.
    80   _keep_alive(is_anonymous || h_class_loader.is_null()),
    80   _keep_alive(is_anonymous || h_class_loader.is_null()),
    81   _metaspace(NULL), _unloading(false), _klasses(NULL),
    81   _metaspace(NULL), _unloading(false), _klasses(NULL),
    82   _claimed(0), _jmethod_ids(NULL), _handles(NULL), _deallocate_list(NULL),
    82   _claimed(0), _jmethod_ids(NULL), _handles(NULL), _deallocate_list(NULL),
    83   _next(NULL), _dependencies(dependencies),
    83   _next(NULL), _dependencies(dependencies),
    84   _metaspace_lock(new Mutex(Monitor::leaf+1, "Metaspace allocation lock", true)) {
    84   _metaspace_lock(new Mutex(Monitor::leaf+1, "Metaspace allocation lock", true,
       
    85                             Monitor::_safepoint_check_never)) {
    85     // empty
    86     // empty
    86 }
    87 }
    87 
    88 
    88 void ClassLoaderData::init_dependencies(TRAPS) {
    89 void ClassLoaderData::init_dependencies(TRAPS) {
    89   assert(!Universe::is_fully_initialized(), "should only be called when initializing");
    90   assert(!Universe::is_fully_initialized(), "should only be called when initializing");