File tree 2 files changed +1
-9
lines changed
src/hotspot/share/gc/shared
2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,6 @@ SoftRefPolicy::SoftRefPolicy() :
30
30
_all_soft_refs_clear(false ) {
31
31
}
32
32
33
- bool SoftRefPolicy::use_should_clear_all_soft_refs (bool v) {
34
- bool result = _should_clear_all_soft_refs;
35
- set_should_clear_all_soft_refs (false );
36
- return result;
37
- }
38
-
39
33
void SoftRefPolicy::cleared_all_soft_refs () {
40
34
_all_soft_refs_clear = true ;
41
35
}
Original file line number Diff line number Diff line change @@ -45,9 +45,7 @@ class SoftRefPolicy {
45
45
46
46
bool should_clear_all_soft_refs () { return _should_clear_all_soft_refs; }
47
47
void set_should_clear_all_soft_refs (bool v) { _should_clear_all_soft_refs = v; }
48
- // Returns the current value of _should_clear_all_soft_refs.
49
- // _should_clear_all_soft_refs is set to false as a side effect.
50
- bool use_should_clear_all_soft_refs (bool v);
48
+
51
49
bool all_soft_refs_clear () { return _all_soft_refs_clear; }
52
50
void set_all_soft_refs_clear (bool v) { _all_soft_refs_clear = v; }
53
51
You can’t perform that action at this time.
0 commit comments