Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalRuntime.hpp @ 16628:d3fec84757ed
improved generated sources up-to-date check by using SHA1 digests
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 31 Jul 2014 13:42:56 +0200 |
parents | addc0564e5b5 |
children | 4d0d1dc5db00 |
comparison
equal
deleted
inserted
replaced
16627:68deb37eed70 | 16628:d3fec84757ed |
---|---|
31 class GraalRuntime: public CHeapObj<mtCompiler> { | 31 class GraalRuntime: public CHeapObj<mtCompiler> { |
32 private: | 32 private: |
33 | 33 |
34 static jobject _HotSpotGraalRuntime_instance; | 34 static jobject _HotSpotGraalRuntime_instance; |
35 static address _external_deopt_i2c_entry; | 35 static address _external_deopt_i2c_entry; |
36 static const char* _generated_sources_sha1; | |
36 | 37 |
37 /** | 38 /** |
38 * Reads the OptionValue object from a specified static field. | 39 * Reads the OptionValue object from a specified static field. |
39 * | 40 * |
40 * @throws LinkageError if the field could not be resolved | 41 * @throws LinkageError if the field could not be resolved |
98 * Instantiates a service object, calls its default constructor and returns it. | 99 * Instantiates a service object, calls its default constructor and returns it. |
99 * | 100 * |
100 * @param name the name of a class implementing com.oracle.graal.api.runtime.Service | 101 * @param name the name of a class implementing com.oracle.graal.api.runtime.Service |
101 */ | 102 */ |
102 static Handle create_Service(const char* name, TRAPS); | 103 static Handle create_Service(const char* name, TRAPS); |
104 | |
105 /** | |
106 * Checks that _generated_sources_sha1 equals GeneratedSourcesSha1.value. | |
107 */ | |
108 static void check_generated_sources_sha1(TRAPS); | |
103 | 109 |
104 public: | 110 public: |
105 | 111 |
106 static void initialize_natives(JNIEnv *env, jclass c2vmClass); | 112 static void initialize_natives(JNIEnv *env, jclass c2vmClass); |
107 | 113 |