Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/deoptimization.hpp @ 18391:810222d74f7c
When deoptimizing on unwind, revoke biases instead of calling deoptimize_frame before returning deopt continuation
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 17 Nov 2014 14:58:39 +0100 |
parents | 52b4284cb496 |
children | 3ad5d7a6adb5 |
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.hpp Mon Nov 17 11:51:08 2014 +0100 +++ b/src/share/vm/runtime/deoptimization.hpp Mon Nov 17 14:58:39 2014 +0100 @@ -130,13 +130,13 @@ static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map); static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map, DeoptReason reason); + // Helper function to revoke biases of all monitors in frame if UseBiasedLocking + // is enabled + static void revoke_biases_of_monitors(JavaThread* thread, frame fr, RegisterMap* map); + private: // Does the actual work for deoptimizing a single frame static void deoptimize_single_frame(JavaThread* thread, frame fr, DeoptReason reason); - - // Helper function to revoke biases of all monitors in frame if UseBiasedLocking - // is enabled - static void revoke_biases_of_monitors(JavaThread* thread, frame fr, RegisterMap* map); // Helper function to revoke biases of all monitors in frames // executing in a particular CodeBlob if UseBiasedLocking is enabled static void revoke_biases_of_monitors(CodeBlob* cb);