equal
deleted
inserted
replaced
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, |