hotspot/src/share/vm/gc_implementation/shared/immutableSpace.hpp
changeset 1405 ce6e6fe90107
parent 670 ddf3e9583f2f
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/gc_implementation/shared/immutableSpace.hpp	Wed Sep 24 15:34:06 2008 -0400
+++ b/hotspot/src/share/vm/gc_implementation/shared/immutableSpace.hpp	Sat Sep 27 00:33:13 2008 -0700
@@ -50,7 +50,8 @@
   size_t capacity_in_bytes() const            { return capacity_in_words() * HeapWordSize; }
 
   // Size computations.  Sizes are in heapwords.
-  size_t capacity_in_words() const            { return pointer_delta(end(), bottom()); }
+  size_t capacity_in_words() const                { return pointer_delta(end(), bottom()); }
+  virtual size_t capacity_in_words(Thread*) const { return capacity_in_words(); }
 
   // Iteration.
   virtual void oop_iterate(OopClosure* cl);