equal
deleted
inserted
replaced
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 } |