< prev index next >
src/share/vm/gc_implementation/shenandoah/heuristics/shenandoahPassiveHeuristics.hpp
Print this page
rev 10690 : [backport] Cleanup header files and forward declarations
rev 10772 : [backport] Update copyrights
rev 10795 : [backport] Separate "passive" heuristics from "adaptive"
*** 1,7 ****
/*
! * Copyright (c) 2018, Red Hat, Inc. and/or its affiliates.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
--- 1,7 ----
/*
! * Copyright (c) 2018, Red Hat, Inc. All rights reserved.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
*** 23,35 ****
#ifndef SHARE_VM_GC_SHENANDOAH_HEURISTICS_SHENANDOAHPASSIVEHEURISTICS_HPP
#define SHARE_VM_GC_SHENANDOAH_HEURISTICS_SHENANDOAHPASSIVEHEURISTICS_HPP
#include "gc_implementation/shenandoah/shenandoahHeuristics.hpp"
- #include "gc_implementation/shenandoah/heuristics/shenandoahAdaptiveHeuristics.hpp"
! class ShenandoahPassiveHeuristics : public ShenandoahAdaptiveHeuristics {
public:
ShenandoahPassiveHeuristics();
virtual bool should_start_normal_gc() const;
--- 23,34 ----
#ifndef SHARE_VM_GC_SHENANDOAH_HEURISTICS_SHENANDOAHPASSIVEHEURISTICS_HPP
#define SHARE_VM_GC_SHENANDOAH_HEURISTICS_SHENANDOAHPASSIVEHEURISTICS_HPP
#include "gc_implementation/shenandoah/shenandoahHeuristics.hpp"
! class ShenandoahPassiveHeuristics : public ShenandoahHeuristics {
public:
ShenandoahPassiveHeuristics();
virtual bool should_start_normal_gc() const;
*** 37,46 ****
--- 36,49 ----
virtual bool should_unload_classes();
virtual bool should_degenerate_cycle();
+ virtual void choose_collection_set_from_regiondata(ShenandoahCollectionSet* set,
+ RegionData* data, size_t data_size,
+ size_t free);
+
virtual const char* name();
virtual bool is_diagnostic();
virtual bool is_experimental();
< prev index next >