mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +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) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 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
|
||||
|
@ -35,7 +35,7 @@ class VM_ParallelGCFailedAllocation: public VM_GC_Operation {
|
|||
HeapWord* _result;
|
||||
|
||||
public:
|
||||
VM_ParallelGCFailedAllocation(size_t size, unsigned int gc_count);
|
||||
VM_ParallelGCFailedAllocation(size_t size, uint gc_count);
|
||||
|
||||
virtual VMOp_Type type() const {
|
||||
return VMOp_ParallelGCFailedAllocation;
|
||||
|
@ -47,8 +47,7 @@ class VM_ParallelGCFailedAllocation: public VM_GC_Operation {
|
|||
|
||||
class VM_ParallelGCSystemGC: public VM_GC_Operation {
|
||||
public:
|
||||
VM_ParallelGCSystemGC(unsigned int gc_count, unsigned int full_gc_count,
|
||||
GCCause::Cause gc_cause);
|
||||
VM_ParallelGCSystemGC(uint gc_count, uint full_gc_count, GCCause::Cause gc_cause);
|
||||
virtual VMOp_Type type() const { return VMOp_ParallelGCSystemGC; }
|
||||
virtual void doit();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue