Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCompiler.cpp @ 22538:ea6d1727fdc6
Remove BufferBlob from JavaThread and allocate as needed during compilation
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 08 Sep 2015 16:41:04 -0700 |
parents | d1019456c4d2 |
children | 02fc27dc1da7 |
comparison
equal
deleted
inserted
replaced
22537:9554ce7b6eb5 | 22538:ea6d1727fdc6 |
---|---|
48 #ifdef COMPILERJVMCI | 48 #ifdef COMPILERJVMCI |
49 if (!UseCompiler || !should_perform_init()) { | 49 if (!UseCompiler || !should_perform_init()) { |
50 return; | 50 return; |
51 } | 51 } |
52 | 52 |
53 BufferBlob* buffer_blob = JVMCIRuntime::initialize_buffer_blob(); | 53 set_state(initialized); |
54 if (buffer_blob == NULL) { | 54 |
55 set_state(failed); | |
56 } else { | |
57 set_state(initialized); | |
58 } | |
59 // JVMCI is considered as application code so we need to | 55 // JVMCI is considered as application code so we need to |
60 // stop the VM deferring compilation now. | 56 // stop the VM deferring compilation now. |
61 CompilationPolicy::completed_vm_startup(); | 57 CompilationPolicy::completed_vm_startup(); |
62 #endif // COMPILERJVMCI | 58 #endif // COMPILERJVMCI |
63 } | 59 } |