Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalRuntime.cpp @ 16399:4481cf549cfc
removed (Java based) CompilationQueue
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 03 Jul 2014 23:28:35 +0200 |
parents | ad431bf0de07 |
children | 78ddecd6255f |
comparison
equal
deleted
inserted
replaced
16398:c5ab3fbec257 | 16399:4481cf549cfc |
---|---|
687 JVM_ENTRY(jboolean, JVM_ParseGraalOptions(JNIEnv *env, jclass c)) | 687 JVM_ENTRY(jboolean, JVM_ParseGraalOptions(JNIEnv *env, jclass c)) |
688 HandleMark hm; | 688 HandleMark hm; |
689 KlassHandle hotSpotOptionsClass(THREAD, java_lang_Class::as_Klass(JNIHandles::resolve_non_null(c))); | 689 KlassHandle hotSpotOptionsClass(THREAD, java_lang_Class::as_Klass(JNIHandles::resolve_non_null(c))); |
690 return GraalRuntime::parse_arguments(hotSpotOptionsClass, CHECK_false); | 690 return GraalRuntime::parse_arguments(hotSpotOptionsClass, CHECK_false); |
691 JVM_END | 691 JVM_END |
692 | |
693 #ifdef COMPILERGRAAL | |
694 // private static boolean CompilationQueue.printAndResetCompRate() | |
695 JVM_ENTRY(void, JVM_PrintAndResetGraalCompRate(JNIEnv *env, jclass c)) | |
696 GraalCompiler* comp = GraalCompiler::instance(); | |
697 CompileBroker::print_times(comp); | |
698 CompilerStatistics* stats = comp->stats(); | |
699 stats->_standard.reset(); | |
700 stats->_osr.reset(); | |
701 JVM_END | |
702 #endif | |
703 | 692 |
704 jint GraalRuntime::check_arguments(TRAPS) { | 693 jint GraalRuntime::check_arguments(TRAPS) { |
705 KlassHandle nullHandle; | 694 KlassHandle nullHandle; |
706 parse_arguments(nullHandle, THREAD); | 695 parse_arguments(nullHandle, THREAD); |
707 if (HAS_PENDING_EXCEPTION) { | 696 if (HAS_PENDING_EXCEPTION) { |