mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6810672: Comment typos
I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
This commit is contained in:
parent
67a5668b16
commit
05d1de7727
120 changed files with 278 additions and 277 deletions
|
@ -393,7 +393,7 @@ class CMSAdaptiveSizePolicy : public AdaptiveSizePolicy {
|
|||
// Restarts the concurrent phases timer.
|
||||
void concurrent_phases_resume();
|
||||
|
||||
// Time begining and end of the marking phase for
|
||||
// Time beginning and end of the marking phase for
|
||||
// a synchronous MS collection. A MS collection
|
||||
// that finishes in the foreground can have started
|
||||
// in the background. These methods capture the
|
||||
|
|
|
@ -69,7 +69,7 @@ class CMSGCAdaptivePolicyCounters : public GCAdaptivePolicyCounters {
|
|||
// end of the sweep of the tenured generation.
|
||||
PerfVariable* _avg_cms_free_counter;
|
||||
// Average of the free space in the tenured generation at the
|
||||
// start of the sweep of the tenured genertion.
|
||||
// start of the sweep of the tenured generation.
|
||||
PerfVariable* _avg_cms_free_at_sweep_counter;
|
||||
// Average of the free space in the tenured generation at the
|
||||
// after any resizing of the tenured generation at the end
|
||||
|
|
|
@ -4178,7 +4178,7 @@ bool CMSCollector::do_marking_mt(bool asynch) {
|
|||
// and is deferred for now; see CR# TBF. 07252005YSR. XXX
|
||||
assert(!CMSAbortSemantics || tsk.aborted(), "Inconsistency");
|
||||
// If _restart_addr is non-NULL, a marking stack overflow
|
||||
// occured; we need to do a fresh marking iteration from the
|
||||
// occurred; we need to do a fresh marking iteration from the
|
||||
// indicated restart address.
|
||||
if (_foregroundGCIsActive && asynch) {
|
||||
// We may be running into repeated stack overflows, having
|
||||
|
@ -4221,7 +4221,7 @@ bool CMSCollector::do_marking_st(bool asynch) {
|
|||
// should be incremental with periodic yields.
|
||||
_markBitMap.iterate(&markFromRootsClosure);
|
||||
// If _restart_addr is non-NULL, a marking stack overflow
|
||||
// occured; we need to do a fresh iteration from the
|
||||
// occurred; we need to do a fresh iteration from the
|
||||
// indicated restart address.
|
||||
while (_restart_addr != NULL) {
|
||||
if (_foregroundGCIsActive && asynch) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue