comparison src/share/vm/runtime/deoptimization.hpp @ 18404:03c63fd2f714

Backout 810222d74f7c
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 18 Nov 2014 10:55:59 +0100
parents 3ad5d7a6adb5
children 7848fc12602b
comparison
equal deleted inserted replaced
18403:b9f2356c3a69 18404:03c63fd2f714
125 125
126 // Deoptimizes a frame lazily. nmethod gets patched deopt happens on return to the frame 126 // Deoptimizes a frame lazily. nmethod gets patched deopt happens on return to the frame
127 static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map); 127 static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map);
128 static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map, DeoptReason reason); 128 static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map, DeoptReason reason);
129 129
130 private:
131 // Does the actual work for deoptimizing a single frame
132 static void deoptimize_single_frame(JavaThread* thread, frame fr, DeoptReason reason);
133
130 // Helper function to revoke biases of all monitors in frame if UseBiasedLocking 134 // Helper function to revoke biases of all monitors in frame if UseBiasedLocking
131 // is enabled 135 // is enabled
132 static void revoke_biases_of_monitors(JavaThread* thread, frame fr, RegisterMap* map); 136 static void revoke_biases_of_monitors(JavaThread* thread, frame fr, RegisterMap* map);
133
134 private:
135 // Does the actual work for deoptimizing a single frame
136 static void deoptimize_single_frame(JavaThread* thread, frame fr, DeoptReason reason);
137 // Helper function to revoke biases of all monitors in frames 137 // Helper function to revoke biases of all monitors in frames
138 // executing in a particular CodeBlob if UseBiasedLocking is enabled 138 // executing in a particular CodeBlob if UseBiasedLocking is enabled
139 static void revoke_biases_of_monitors(CodeBlob* cb); 139 static void revoke_biases_of_monitors(CodeBlob* cb);
140 140
141 #if defined(COMPILER2) || defined(GRAAL) 141 #if defined(COMPILER2) || defined(GRAAL)