16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHMODE_HPP
26 #define SHARE_GC_SHENANDOAH_SHENANDOAHMODE_HPP
27
28 #include "memory/allocation.hpp"
29
30 class ShenandoahHeuristics;
31
32 class ShenandoahMode : public CHeapObj<mtGC> {
33 public:
34 virtual void initialize_flags() const = 0;
35 virtual ShenandoahHeuristics* initialize_heuristics() const = 0;
36 };
37
38 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHMODE_HPP
|
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHMODE_HPP
26 #define SHARE_GC_SHENANDOAH_SHENANDOAHMODE_HPP
27
28 #include "memory/allocation.hpp"
29
30 class ShenandoahHeuristics;
31
32 class ShenandoahMode : public CHeapObj<mtGC> {
33 public:
34 virtual void initialize_flags() const = 0;
35 virtual ShenandoahHeuristics* initialize_heuristics() const = 0;
36 virtual const char* name() = 0;
37 virtual bool is_diagnostic() = 0;
38 virtual bool is_experimental() = 0;
39 };
40
41 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHMODE_HPP
|