diff src/share/vm/gc_interface/collectedHeap.hpp @ 4009:e5928e7dab26

7098528: crash with java -XX:+ExtendedDTraceProbes Reviewed-by: kvn
author never
date Mon, 17 Oct 2011 21:38:29 -0700
parents a92cdbac8b9e
children 53074c2c4600
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp	Mon Oct 17 11:00:41 2011 -0700
+++ b/src/share/vm/gc_interface/collectedHeap.hpp	Mon Oct 17 21:38:29 2011 -0700
@@ -319,6 +319,9 @@
   // VM (then terminate).
   virtual void preload_and_dump(TRAPS) { ShouldNotReachHere(); }
 
+  // Allocate and initialize instances of Class
+  static oop Class_obj_allocate(KlassHandle klass, int size, KlassHandle real_klass, TRAPS);
+
   // General obj/array allocation facilities.
   inline static oop obj_allocate(KlassHandle klass, int size, TRAPS);
   inline static oop array_allocate(KlassHandle klass, int size, int length, TRAPS);