mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8252660: Shenandoah: support manageable SoftMaxHeapSize option
Reviewed-by: zgu
This commit is contained in:
parent
261eb76ea2
commit
c61204b3f3
11 changed files with 314 additions and 33 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue