Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalVMToCompiler.hpp @ 15926:af0e42dad358
reduced time to initialize ForeignCallProviders by avoiding triggering class initialization of Node subclasses as well as making annotation parsing lazy in SnippetInfo
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 27 May 2014 15:43:36 +0200 |
parents | fe608a56e3f7 |
children |
comparison
equal
deleted
inserted
replaced
15925:674d4065e9fb | 15926:af0e42dad358 |
---|---|
42 | 42 |
43 static KlassHandle VMToCompiler_klass(); | 43 static KlassHandle VMToCompiler_klass(); |
44 static Handle VMToCompiler_instance(); | 44 static Handle VMToCompiler_instance(); |
45 | 45 |
46 public: | 46 public: |
47 | |
48 static bool is_HotSpotGraalRuntime_initialized() { return _HotSpotGraalRuntime_instance != NULL; } | |
49 | |
47 // Gets the singleton HotSpotGraalRuntime instance, initializing it if necessary | 50 // Gets the singleton HotSpotGraalRuntime instance, initializing it if necessary |
48 static Handle get_HotSpotGraalRuntime(); | 51 static Handle get_HotSpotGraalRuntime(); |
49 | 52 |
50 // Creates a new HotSpotTruffleRuntime object | 53 // Creates a new HotSpotTruffleRuntime object |
51 static Handle create_HotSpotTruffleRuntime(); | 54 static Handle create_HotSpotTruffleRuntime(); |