< prev index next >

src/hotspot/share/gc/shared/genCollectedHeap.hpp

Print this page

        

*** 232,245 **** // Perform a full collection of generations up to and including max_generation. // Mostly used for testing purposes. Caller does not hold the Heap_lock on entry. void collect(GCCause::Cause cause, GenerationType max_generation); // Returns "TRUE" iff "p" points into the committed areas of the heap. ! // The methods is_in(), is_in_closed_subset() and is_in_youngest() may ! // be expensive to compute in general, so, to prevent ! // their inadvertent use in product jvm's, we restrict their use to ! // assertion checking or verification only. bool is_in(const void* p) const; // Returns true if the reference is to an object in the reserved space // for the young generation. // Assumes the the young gen address range is less than that of the old gen. --- 232,244 ---- // Perform a full collection of generations up to and including max_generation. // Mostly used for testing purposes. Caller does not hold the Heap_lock on entry. void collect(GCCause::Cause cause, GenerationType max_generation); // Returns "TRUE" iff "p" points into the committed areas of the heap. ! // The methods is_in() and is_in_youngest() may be expensive to compute ! // in general, so, to prevent their inadvertent use in product jvm's, we ! // restrict their use to assertion checking or verification only. bool is_in(const void* p) const; // Returns true if the reference is to an object in the reserved space // for the young generation. // Assumes the the young gen address range is less than that of the old gen.
< prev index next >