Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalRuntime.cpp @ 18711:88c280297bd2
put GeneratedSourcesSha1 into com.oracle.graal.hotspot.sourcegen package
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 18 Dec 2014 13:10:23 +1000 |
parents | 74f612049e4e |
children | 3d6e630a72f1 |
comparison
equal
deleted
inserted
replaced
18710:4836c2abc884 | 18711:88c280297bd2 |
---|---|
711 JavaCalls::call_static(&result, klass, makeInstance, sig, CHECK_NULL); | 711 JavaCalls::call_static(&result, klass, makeInstance, sig, CHECK_NULL); |
712 return JNIHandles::make_local((oop) result.get_jobject()); | 712 return JNIHandles::make_local((oop) result.get_jobject()); |
713 JVM_END | 713 JVM_END |
714 | 714 |
715 void GraalRuntime::check_generated_sources_sha1(TRAPS) { | 715 void GraalRuntime::check_generated_sources_sha1(TRAPS) { |
716 TempNewSymbol name = SymbolTable::new_symbol("GeneratedSourcesSha1", CHECK_ABORT); | 716 TempNewSymbol name = SymbolTable::new_symbol("com/oracle/graal/hotspot/sourcegen/GeneratedSourcesSha1", CHECK_ABORT); |
717 KlassHandle klass = load_required_class(name); | 717 KlassHandle klass = load_required_class(name); |
718 fieldDescriptor fd; | 718 fieldDescriptor fd; |
719 if (!InstanceKlass::cast(klass())->find_field(vmSymbols::value_name(), vmSymbols::string_signature(), true, &fd)) { | 719 if (!InstanceKlass::cast(klass())->find_field(vmSymbols::value_name(), vmSymbols::string_signature(), true, &fd)) { |
720 THROW_MSG(vmSymbols::java_lang_NoSuchFieldError(), "GeneratedSourcesSha1.value"); | 720 THROW_MSG(vmSymbols::java_lang_NoSuchFieldError(), "GeneratedSourcesSha1.value"); |
721 } | 721 } |