mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8072621: Clean up around VM_GC_Operations
Reviewed-by: brutisso, jmasa
This commit is contained in:
parent
20bfd4cf7c
commit
7727fe0044
12 changed files with 84 additions and 88 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -260,7 +260,7 @@ HeapWord* ParallelScavengeHeap::mem_allocate(
|
|||
|
||||
uint loop_count = 0;
|
||||
uint gc_count = 0;
|
||||
int gclocker_stalled_count = 0;
|
||||
uint gclocker_stalled_count = 0;
|
||||
|
||||
while (result == NULL) {
|
||||
// We don't want to have multiple collections for a single filled generation.
|
||||
|
@ -520,8 +520,8 @@ void ParallelScavengeHeap::collect(GCCause::Cause cause) {
|
|||
assert(!Heap_lock->owned_by_self(),
|
||||
"this thread should not own the Heap_lock");
|
||||
|
||||
unsigned int gc_count = 0;
|
||||
unsigned int full_gc_count = 0;
|
||||
uint gc_count = 0;
|
||||
uint full_gc_count = 0;
|
||||
{
|
||||
MutexLocker ml(Heap_lock);
|
||||
// This value is guarded by the Heap_lock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue