Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCompiler.hpp @ 16136:d32be0297274
support -XX:+BootstrapGraal in conjunction with -XX:-UseGraalCompilationQueue
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 18 Jun 2014 16:48:59 +0200 |
parents | 66a9286203a2 |
children | 4481cf549cfc |
comparison
equal
deleted
inserted
replaced
16135:f3330ba9974c | 16136:d32be0297274 |
---|---|
30 | 30 |
31 private: | 31 private: |
32 | 32 |
33 #ifdef COMPILERGRAAL | 33 #ifdef COMPILERGRAAL |
34 bool _bootstrapping; | 34 bool _bootstrapping; |
35 volatile int _compiled; // no synchronization so may not be 100% accurate | |
35 | 36 |
36 void start_compilation_queue(); | 37 void start_compilation_queue(); |
37 void shutdown_compilation_queue(); | 38 void shutdown_compilation_queue(); |
38 void bootstrap(); | |
39 #endif | 39 #endif |
40 | 40 |
41 static GraalCompiler* _instance; | 41 static GraalCompiler* _instance; |
42 | 42 |
43 public: | 43 public: |
59 | 59 |
60 // Initialization | 60 // Initialization |
61 virtual void initialize(); | 61 virtual void initialize(); |
62 | 62 |
63 #ifdef COMPILERGRAAL | 63 #ifdef COMPILERGRAAL |
64 | |
65 void bootstrap(); | |
66 | |
64 // Compilation entry point for methods | 67 // Compilation entry point for methods |
65 virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci); | 68 virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci); |
66 | 69 |
67 void compile_method(methodHandle target, int entry_bci, CompileTask* task, jboolean blocking); | 70 void compile_method(methodHandle target, int entry_bci, CompileTask* task, jboolean blocking); |
68 | 71 |