File systemtap-alloc-size-workaround.patch of Package java-1_7_0-openjdk.zero

Index: openjdk/hotspot/src/share/vm/runtime/sharedRuntime.cpp
===================================================================
--- openjdk/hotspot/src/share/vm/runtime/sharedRuntime.cpp.orig
+++ openjdk/hotspot/src/share/vm/runtime/sharedRuntime.cpp
@@ -955,7 +955,7 @@ int SharedRuntime::dtrace_object_alloc_b
   int size = o->size();
   Symbol* name = klass->name();
   HS_DTRACE_PROBE4(hotspot, object__alloc, get_java_tid(thread),
-                   name->bytes(), name->utf8_length(), size * HeapWordSize);
+                   name->bytes(), name->utf8_length(), size);
   return 0;
 }
 
openSUSE Build Service is sponsored by