< prev index next >
src/share/vm/gc/cms/vmCMSOperations.hpp
Print this page
*** 75,85 ****
// The legal collector state for executing this CMS op.
virtual const CMSCollector::CollectorState legal_state() const = 0;
// Whether the pending list lock needs to be held
! virtual const bool needs_pll() const = 0;
// Execute operations in the context of the caller,
// prior to execution of the vm operation itself.
virtual bool doit_prologue();
// Execute operations in the context of the caller,
--- 75,85 ----
// The legal collector state for executing this CMS op.
virtual const CMSCollector::CollectorState legal_state() const = 0;
// Whether the pending list lock needs to be held
! virtual const bool needs_pending_list_lock() const = 0;
// Execute operations in the context of the caller,
// prior to execution of the vm operation itself.
virtual bool doit_prologue();
// Execute operations in the context of the caller,
*** 107,117 ****
virtual const CMSCollector::CollectorState legal_state() const {
return CMSCollector::InitialMarking;
}
! virtual const bool needs_pll() const {
return false;
}
};
// VM_CMS_Operation for the final remark phase of CMS.
--- 107,117 ----
virtual const CMSCollector::CollectorState legal_state() const {
return CMSCollector::InitialMarking;
}
! virtual const bool needs_pending_list_lock() const {
return false;
}
};
// VM_CMS_Operation for the final remark phase of CMS.
*** 124,134 ****
virtual const CMSCollector::CollectorState legal_state() const {
return CMSCollector::FinalMarking;
}
! virtual const bool needs_pll() const {
return true;
}
};
--- 124,134 ----
virtual const CMSCollector::CollectorState legal_state() const {
return CMSCollector::FinalMarking;
}
! virtual const bool needs_pending_list_lock() const {
return true;
}
};
< prev index next >