367 if (FLAG_IS_DEFAULT(OptoScheduling)) { 368 OptoScheduling = true; 369 } 370 #endif 371 } 372 373 void VM_Version::initialize() { 374 ResourceMark rm; 375 376 stub_blob = BufferBlob::create("getPsrInfo_stub", stub_size); 377 if (stub_blob == NULL) { 378 vm_exit_during_initialization("Unable to allocate getPsrInfo_stub"); 379 } 380 381 CodeBuffer c(stub_blob); 382 VM_Version_StubGenerator g(&c); 383 getPsrInfo_stub = CAST_TO_FN_PTR(getPsrInfo_stub_t, 384 g.generate_getPsrInfo()); 385 386 get_processor_features(); 387 } | 367 if (FLAG_IS_DEFAULT(OptoScheduling)) { 368 OptoScheduling = true; 369 } 370 #endif 371 } 372 373 void VM_Version::initialize() { 374 ResourceMark rm; 375 376 stub_blob = BufferBlob::create("getPsrInfo_stub", stub_size); 377 if (stub_blob == NULL) { 378 vm_exit_during_initialization("Unable to allocate getPsrInfo_stub"); 379 } 380 381 CodeBuffer c(stub_blob); 382 VM_Version_StubGenerator g(&c); 383 getPsrInfo_stub = CAST_TO_FN_PTR(getPsrInfo_stub_t, 384 g.generate_getPsrInfo()); 385 386 get_processor_features(); 387 388 UNSUPPORTED_OPTION(CriticalJNINatives); 389 } |