< prev index next >
src/share/vm/memory/tenuredGeneration.hpp
Print this page
rev 8331 : 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by:
@@ -1,7 +1,7 @@
/*
- * 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -53,12 +53,13 @@
// Accessing spaces
ContiguousSpace* space() const { return _the_space; }
void assert_correct_size_change_locking();
public:
- TenuredGeneration(ReservedSpace rs, size_t initial_byte_size,
- int level, GenRemSet* remset);
+ TenuredGeneration(ReservedSpace rs,
+ size_t initial_byte_size,
+ GenRemSet* remset);
Generation::Name kind() { return Generation::MarkSweepCompact; }
// Printing
const char* name() const { return "tenured generation"; }
@@ -118,11 +119,11 @@
virtual void record_spaces_top();
// Statistics
- virtual void update_gc_stats(int level, bool full);
+ virtual void update_gc_stats(Generation* current_generation, bool full);
virtual bool promotion_attempt_is_safe(size_t max_promoted_in_bytes) const;
virtual void verify();
virtual void print_on(outputStream* st) const;
< prev index next >