8263852: Unused method SoftRefPolicy::use_should_clear_all_soft_refs
Reviewed-by: tschatzl
This commit is contained in:
parent
57497ab0ca
commit
1572f3ccdd
@ -30,12 +30,6 @@ SoftRefPolicy::SoftRefPolicy() :
|
||||
_all_soft_refs_clear(false) {
|
||||
}
|
||||
|
||||
bool SoftRefPolicy::use_should_clear_all_soft_refs(bool v) {
|
||||
bool result = _should_clear_all_soft_refs;
|
||||
set_should_clear_all_soft_refs(false);
|
||||
return result;
|
||||
}
|
||||
|
||||
void SoftRefPolicy::cleared_all_soft_refs() {
|
||||
_all_soft_refs_clear = true;
|
||||
}
|
||||
|
@ -45,9 +45,7 @@ class SoftRefPolicy {
|
||||
|
||||
bool should_clear_all_soft_refs() { return _should_clear_all_soft_refs; }
|
||||
void set_should_clear_all_soft_refs(bool v) { _should_clear_all_soft_refs = v; }
|
||||
// Returns the current value of _should_clear_all_soft_refs.
|
||||
// _should_clear_all_soft_refs is set to false as a side effect.
|
||||
bool use_should_clear_all_soft_refs(bool v);
|
||||
|
||||
bool all_soft_refs_clear() { return _all_soft_refs_clear; }
|
||||
void set_all_soft_refs_clear(bool v) { _all_soft_refs_clear = v; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user