Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompiler.cpp @ 7154:5d0bb7d52783
changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Dec 2012 21:36:40 +0100 |
parents | ce248dc0a656 |
children | 8a3efb8c831d |
comparison
equal
deleted
inserted
replaced
7153:c421c19b7bf8 | 7154:5d0bb7d52783 |
---|---|
34 #include "runtime/arguments.hpp" | 34 #include "runtime/arguments.hpp" |
35 #include "runtime/compilationPolicy.hpp" | 35 #include "runtime/compilationPolicy.hpp" |
36 | 36 |
37 GraalCompiler* GraalCompiler::_instance = NULL; | 37 GraalCompiler* GraalCompiler::_instance = NULL; |
38 | 38 |
39 GraalCompiler::GraalCompiler() { | 39 GraalCompiler::GraalCompiler() : AbstractCompiler(graal) { |
40 _initialized = false; | 40 _initialized = false; |
41 assert(_instance == NULL, "only one instance allowed"); | 41 assert(_instance == NULL, "only one instance allowed"); |
42 _instance = this; | 42 _instance = this; |
43 } | 43 } |
44 | 44 |