comparison src/share/vm/graal/graalEnv.hpp @ 19782:29916dcee0b8

Verify dependencies when assertions are enabled
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 10 Mar 2015 22:18:53 -0700
parents fb38e004503c
children
comparison
equal deleted inserted replaced
19781:ea8d6fa333ab 19782:29916dcee0b8
59 public: 59 public:
60 60
61 enum CodeInstallResult { 61 enum CodeInstallResult {
62 ok, 62 ok,
63 dependencies_failed, 63 dependencies_failed,
64 dependencies_invalid,
64 cache_full, 65 cache_full,
65 code_too_large 66 code_too_large
66 }; 67 };
67 68
68 // Look up a klass by name from a particular class loader (the accessor's). 69 // Look up a klass by name from a particular class loader (the accessor's).
131 // Is this thread currently in the VM state? 132 // Is this thread currently in the VM state?
132 static bool is_in_vm(); 133 static bool is_in_vm();
133 134
134 // Helper routine for determining the validity of a compilation 135 // Helper routine for determining the validity of a compilation
135 // with respect to concurrent class loading. 136 // with respect to concurrent class loading.
136 static bool check_for_system_dictionary_modification(Dependencies* target, Handle compiled_code, GraalEnv* env, char** failure_detail); 137 static GraalEnv::CodeInstallResult check_for_system_dictionary_modification(Dependencies* target, Handle compiled_code,
138 GraalEnv* env, char** failure_detail);
137 139
138 public: 140 public:
139 CompileTask* task() { return _task; } 141 CompileTask* task() { return _task; }
140 142
141 // Register the result of a compilation. 143 // Register the result of a compilation.