comparison src/share/vm/runtime/deoptimization.hpp @ 1805:a25394352030

Merge
author kamg
date Wed, 22 Sep 2010 12:54:51 -0400
parents d5d065957597
children ce6848d0666d
comparison
equal deleted inserted replaced
1804:2966dab85b3e 1805:a25394352030
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,