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:
Y. Srinivas Ramakrishna 2008-12-01 23:25:24 -08:00
parent ed99040266
commit 16aa57cb4b
15 changed files with 28 additions and 28 deletions

View file

@ -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);
};