8252660: Shenandoah: support manageable SoftMaxHeapSize option

Reviewed-by: zgu
This commit is contained in:
Aleksey Shipilev 2020-09-02 18:37:31 +02:00
parent 261eb76ea2
commit c61204b3f3
11 changed files with 314 additions and 33 deletions

View file

@ -103,7 +103,7 @@ private:
void service_concurrent_normal_cycle(GCCause::Cause cause);
void service_stw_full_cycle(GCCause::Cause cause);
void service_stw_degenerated_cycle(GCCause::Cause cause, ShenandoahHeap::ShenandoahDegenPoint point);
void service_uncommit(double shrink_before);
void service_uncommit(double shrink_before, size_t shrink_until);
bool try_set_alloc_failure_gc();
void notify_alloc_failure_waiters();
@ -120,6 +120,9 @@ private:
void handle_requested_gc(GCCause::Cause cause);
bool is_explicit_gc(GCCause::Cause cause) const;
bool check_soft_max_changed() const;
public:
// Constructor
ShenandoahControlThread();