< prev index next >
src/hotspot/share/gc/g1/g1CollectedHeap.hpp
Print this page
rev 57998 : [mq]: softmaxheapsize2
@@ -541,10 +541,12 @@
// during GC into global variables.
void merge_per_thread_state_info(G1ParScanThreadStateSet* per_thread_states);
void verify_numa_regions(const char* desc);
+ void update_heap_target_size();
+
public:
G1YoungRemSetSamplingThread* sampling_thread() const { return _young_gen_sampling_thread; }
WorkGang* workers() const { return _workers; }
@@ -1285,10 +1287,13 @@
virtual size_t max_capacity() const;
// Return the size of reserved memory. Returns different value than max_capacity() when AllocateOldGenAt is used.
virtual size_t max_reserved_capacity() const;
+ // Print the soft maximum heap capacity.
+ size_t soft_max_capacity() const;
+
virtual jlong millis_since_last_gc();
// Convenience function to be used in situations where the heap type can be
// asserted to be this type.
< prev index next >