< prev index next >

src/share/vm/memory/tenuredGeneration.hpp

Print this page
rev 8333 : 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 2001, 2014, 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. --- 1,7 ---- /* ! * 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,64 **** // 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); Generation::Name kind() { return Generation::MarkSweepCompact; } // Printing const char* name() const { return "tenured generation"; } --- 53,65 ---- // Accessing spaces ContiguousSpace* space() const { return _the_space; } void assert_correct_size_change_locking(); public: ! 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,128 **** virtual void record_spaces_top(); // Statistics ! virtual void update_gc_stats(int level, 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; --- 119,129 ---- virtual void record_spaces_top(); // Statistics ! 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 >