8076314: Remove the static instance variable SharedHeap:: _sh

Reviewed-by: pliden, jmasa
This commit is contained in:
Bengt Rutisson 2015-04-02 06:42:24 +02:00
parent 473bf6175f
commit bedce0572a
17 changed files with 33 additions and 88 deletions

View file

@ -29,6 +29,8 @@
#include "oops/oop.hpp"
#include "runtime/perfData.hpp"
class GCPolicyCounters;
/* Copyright (c) 1992-2009 Oracle and/or its affiliates, and Stanford University.
See the LICENSE file for license information. */
@ -69,7 +71,7 @@ class ageTable VALUE_OBJ_CLASS_SPEC {
void merge_par(ageTable* subTable);
// calculate new tenuring threshold based on age information
uint compute_tenuring_threshold(size_t survivor_capacity);
uint compute_tenuring_threshold(size_t survivor_capacity, GCPolicyCounters* gc_counters);
private:
PerfVariable* _perf_sizes[table_size];