hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 45621 7c9f1ec5b693
parent 40892 330a02d935ad
child 46632 cef226af6c02
equal deleted inserted replaced
45620:d66b032663cb 45621:7c9f1ec5b693
  1555   // this resource mark holds all the shared objects
  1555   // this resource mark holds all the shared objects
  1556   ResourceMark rm;
  1556   ResourceMark rm;
  1557 
  1557 
  1558   // First thread to get here will initialize the compiler interface
  1558   // First thread to get here will initialize the compiler interface
  1559 
  1559 
  1560   if (!ciObjectFactory::is_initialized()) {
  1560   {
  1561     ASSERT_IN_VM;
  1561     ASSERT_IN_VM;
  1562     MutexLocker only_one (CompileThread_lock, thread);
  1562     MutexLocker only_one (CompileThread_lock, thread);
  1563     if (!ciObjectFactory::is_initialized()) {
  1563     if (!ciObjectFactory::is_initialized()) {
  1564       ciObjectFactory::initialize();
  1564       ciObjectFactory::initialize();
  1565     }
  1565     }