hotspot/src/share/vm/memory/metaspaceCounters.cpp
changeset 19979 ebe1dbb6e1aa
parent 19322 e35f9ed4f081
child 19988 2b100c528806
--- a/hotspot/src/share/vm/memory/metaspaceCounters.cpp	Fri Sep 06 11:11:19 2013 -0700
+++ b/hotspot/src/share/vm/memory/metaspaceCounters.cpp	Mon Aug 12 17:37:02 2013 +0200
@@ -109,7 +109,7 @@
 }
 
 void CompressedClassSpaceCounters::update_performance_counters() {
-  if (UsePerfData && UseCompressedKlassPointers) {
+  if (UsePerfData && UseCompressedClassPointers) {
     assert(_perf_counters != NULL, "Should be initialized");
 
     size_t capacity = calculate_capacity();
@@ -125,7 +125,7 @@
     assert(_perf_counters == NULL, "Should only be initialized once");
     const char* ns = "compressedclassspace";
 
-    if (UseCompressedKlassPointers) {
+    if (UseCompressedClassPointers) {
       size_t min_capacity = MetaspaceAux::min_chunk_size();
       size_t capacity = calculate_capacity();
       size_t max_capacity = MetaspaceAux::reserved_in_bytes(_class_type);