Mercurial > hg > truffle
diff src/share/vm/runtime/java.cpp @ 4319:3c21eee8ab4d
Add installMethodCallback() to HotSpotRuntime.
Re-add tail call node and opcode.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Tue, 24 Jan 2012 19:17:28 +0100 |
parents | 04b9a2566eec |
children | 723df37192d6 35ca3ade314d |
line wrap: on
line diff
--- a/src/share/vm/runtime/java.cpp Mon Jan 23 12:21:06 2012 +0100 +++ b/src/share/vm/runtime/java.cpp Tue Jan 24 19:17:28 2012 +0100 @@ -425,9 +425,11 @@ #define BEFORE_EXIT_DONE 2 static jint volatile _before_exit_status = BEFORE_EXIT_NOT_RUN; +#ifdef GRAAL if (UseGraal) { GraalCompiler::instance()->exit(); } +#endif // Note: don't use a Mutex to guard the entire before_exit(), as // JVMTI post_thread_end_event and post_vm_death_event will run native code.