mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
6778647: snap(), snap_policy() should be renamed setup(), setup_policy()
Renamed Reference{Policy,Pocessor} methods from snap{,_policy}() to setup{,_policy}() Reviewed-by: apetrusenko
This commit is contained in:
parent
ed99040266
commit
16aa57cb4b
15 changed files with 28 additions and 28 deletions
|
@ -30,7 +30,7 @@ class ReferencePolicy : public CHeapObj {
|
|||
public:
|
||||
virtual bool should_clear_reference(oop p) { ShouldNotReachHere(); return true; }
|
||||
// Capture state (of-the-VM) information needed to evaluate the policy
|
||||
virtual void snap() { /* do nothing */ }
|
||||
virtual void setup() { /* do nothing */ }
|
||||
};
|
||||
|
||||
class NeverClearPolicy : public ReferencePolicy {
|
||||
|
@ -51,7 +51,7 @@ class LRUCurrentHeapPolicy : public ReferencePolicy {
|
|||
LRUCurrentHeapPolicy();
|
||||
|
||||
// Capture state (of-the-VM) information needed to evaluate the policy
|
||||
void snap();
|
||||
void setup();
|
||||
bool should_clear_reference(oop p);
|
||||
};
|
||||
|
||||
|
@ -63,6 +63,6 @@ class LRUMaxHeapPolicy : public ReferencePolicy {
|
|||
LRUMaxHeapPolicy();
|
||||
|
||||
// Capture state (of-the-VM) information needed to evaluate the policy
|
||||
void snap();
|
||||
void setup();
|
||||
bool should_clear_reference(oop p);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue