< prev index next >
src/share/vm/memory/space.hpp
Print this page
rev 7420 : [mq]: removeOneContigSpaceGeneration
*** 60,69 ****
--- 60,70 ----
// Invariant: bottom() and end() are on page_size boundaries and
// bottom() <= top() <= end()
// top() is inclusive and end() is exclusive.
class Space: public CHeapObj<mtGC> {
+ friend class TenuredGeneration;
friend class VMStructs;
protected:
HeapWord* _bottom;
HeapWord* _end;
*** 493,503 ****
class GenSpaceMangler;
// A space in which the free area is contiguous. It therefore supports
// faster allocation, and compaction.
class ContiguousSpace: public CompactibleSpace {
- friend class OneContigSpaceCardGeneration;
friend class VMStructs;
// Allow scan_and_forward function to call (private) overrides for auxiliary functions on this class
template <typename SpaceType>
friend void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* cp);
--- 494,503 ----
< prev index next >