Mercurial > hg > truffle
diff src/share/vm/runtime/sharedRuntime.hpp @ 17884:cf9f24de0b93
8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated"
Summary: Dtrace monitoring uses size before mirror size is set.
Reviewed-by: kamg, hseigel
author | coleenp |
---|---|
date | Fri, 11 Apr 2014 20:02:37 +0000 |
parents | a9becfeecd1b |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.hpp Tue Apr 15 17:02:20 2014 -0400 +++ b/src/share/vm/runtime/sharedRuntime.hpp Fri Apr 11 20:02:37 2014 +0000 @@ -261,8 +261,8 @@ static void register_finalizer(JavaThread* thread, oopDesc* obj); // dtrace notifications - static int dtrace_object_alloc(oopDesc* o); - static int dtrace_object_alloc_base(Thread* thread, oopDesc* o); + static int dtrace_object_alloc(oopDesc* o, int size); + static int dtrace_object_alloc_base(Thread* thread, oopDesc* o, int size); static int dtrace_method_entry(JavaThread* thread, Method* m); static int dtrace_method_exit(JavaThread* thread, Method* m);