8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated"

Dtrace monitoring uses size before mirror size is set.

Reviewed-by: kamg, hseigel
This commit is contained in:
Coleen Phillimore 2014-04-11 20:02:37 +00:00
parent f15b18de1b
commit e72c0ba18f
4 changed files with 16 additions and 15 deletions

View file

@ -258,8 +258,8 @@ class SharedRuntime: AllStatic {
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);