author | zgu |
Sat, 13 Jul 2019 12:15:17 -0400 | |
changeset 55760 | bf8128faace1 |
parent 55587 | 4644b3155fce |
permissions | -rw-r--r-- |
55587
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
1 |
/* |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
2 |
* Copyright (c) 2019, Red Hat, Inc. All rights reserved. |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
3 |
* |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
4 |
* This code is free software; you can redistribute it and/or modify it |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
5 |
* under the terms of the GNU General Public License version 2 only, as |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
6 |
* published by the Free Software Foundation. |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
7 |
* |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
8 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
9 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
10 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
11 |
* version 2 for more details (a copy is included in the LICENSE file that |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
12 |
* accompanied this code). |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
13 |
* |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License version |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
15 |
* 2 along with this work; if not, write to the Free Software Foundation, |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
16 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
17 |
* |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
18 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
19 |
* or visit www.oracle.com if you need additional information or have any |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
20 |
* questions. |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
21 |
* |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
22 |
*/ |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
23 |
|
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
24 |
#ifndef SHARE_GC_SHENANDOAH_SHENANDOAHPASSIVEMODE_HPP |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
25 |
#define SHARE_GC_SHENANDOAH_SHENANDOAHPASSIVEMODE_HPP |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
26 |
|
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
27 |
#include "gc/shenandoah/shenandoahNormalMode.hpp" |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
28 |
|
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
29 |
class ShenandoahPassiveMode : public ShenandoahNormalMode { |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
30 |
public: |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
31 |
virtual void initialize_flags() const; |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
32 |
virtual ShenandoahHeuristics* initialize_heuristics() const; |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
33 |
}; |
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
34 |
|
4644b3155fce
8226757: Shenandoah: Make traversal and passive modes explicit
rkennke
parents:
diff
changeset
|
35 |
#endif // SHARE_GC_SHENANDOAH_SHENANDOAHNORMALMODE_HPP |