Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalRuntime.cpp @ 18227:bcb1e5c232d8
Test deoptimization inside ForeignCallNode
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 31 Oct 2014 12:22:06 -0700 |
parents | f55f2d400797 |
children | ab47ef2f2207 |
comparison
equal
deleted
inserted
replaced
18226:6eda3b299460 | 18227:bcb1e5c232d8 |
---|---|
646 // The other thread may exit during this process, which is ok so return false. | 646 // The other thread may exit during this process, which is ok so return false. |
647 return JNI_FALSE; | 647 return JNI_FALSE; |
648 } else { | 648 } else { |
649 return (jint) Thread::is_interrupted(receiverThread, clear_interrupted != 0); | 649 return (jint) Thread::is_interrupted(receiverThread, clear_interrupted != 0); |
650 } | 650 } |
651 JRT_END | |
652 | |
653 JRT_ENTRY(jint, GraalRuntime::test_deoptimize_call_int(JavaThread* thread, int value)) | |
654 deopt_caller(); | |
655 return value; | |
651 JRT_END | 656 JRT_END |
652 | 657 |
653 // private static GraalRuntime Graal.initializeRuntime() | 658 // private static GraalRuntime Graal.initializeRuntime() |
654 JVM_ENTRY(jobject, JVM_GetGraalRuntime(JNIEnv *env, jclass c)) | 659 JVM_ENTRY(jobject, JVM_GetGraalRuntime(JNIEnv *env, jclass c)) |
655 return GraalRuntime::get_HotSpotGraalRuntime_jobject(); | 660 return GraalRuntime::get_HotSpotGraalRuntime_jobject(); |