src/share/vm/runtime/deoptimization.hpp

changeset 2138
d5d065957597
parent 1907
c18cbe5936b8
child 2260
ce6848d0666d
equal deleted inserted replaced
2137:f353275af40e 2138:d5d065957597
309 // Preserves incoming arguments to the popped frame when it is 309 // Preserves incoming arguments to the popped frame when it is
310 // returning to a deoptimized caller 310 // returning to a deoptimized caller
311 static void popframe_preserve_args(JavaThread* thread, int bytes_to_save, void* start_address); 311 static void popframe_preserve_args(JavaThread* thread, int bytes_to_save, void* start_address);
312 312
313 private: 313 private:
314 enum {
315 _no_count = -1
316 };
317
318 static void reset_invocation_counter(ScopeDesc* trap_scope, jint count = _no_count);
319
320 static methodDataOop get_method_data(JavaThread* thread, methodHandle m, bool create_if_missing); 314 static methodDataOop get_method_data(JavaThread* thread, methodHandle m, bool create_if_missing);
321 // Update the mdo's count and per-BCI reason bits, returning previous state: 315 // Update the mdo's count and per-BCI reason bits, returning previous state:
322 static ProfileData* query_update_method_data(methodDataHandle trap_mdo, 316 static ProfileData* query_update_method_data(methodDataHandle trap_mdo,
323 int trap_bci, 317 int trap_bci,
324 DeoptReason reason, 318 DeoptReason reason,

mercurial