< prev index next >

test/hotspot/jtreg/runtime/Metaspace/elastic/MetaspaceTestWithThreads.java

Print this page
rev 60811 : imported patch jep387-all.patch
rev 60812 : [mq]: diff1


  87         //  so all nodes would have been unmapped.
  88         // This is independent on reclamation policy. Only one exception: if the area was created with a reserve limit
  89         // (mimicking compressed class space), the underlying virtual space list cannot be purged.
  90         if (context.reserveLimit == 0) {
  91             if (context.committedWords() > 0) {
  92                 throw new RuntimeException("Expected no committed words after purging empty metaspace context (was: " + context.committedWords() + ")");
  93             }
  94         }
  95 
  96     }
  97 
  98     @Override
  99     public String toString() {
 100         return "commitLimit=" + context.commitLimit +
 101                 ", reserveLimit=" + context.reserveLimit +
 102                 ", testAllocationCeiling=" + testAllocationCeiling +
 103                 ", num_allocators=" + numThreads +
 104                 ", seconds=" + seconds;
 105     }
 106 
 107 
 108 }


  87         //  so all nodes would have been unmapped.
  88         // This is independent on reclamation policy. Only one exception: if the area was created with a reserve limit
  89         // (mimicking compressed class space), the underlying virtual space list cannot be purged.
  90         if (context.reserveLimit == 0) {
  91             if (context.committedWords() > 0) {
  92                 throw new RuntimeException("Expected no committed words after purging empty metaspace context (was: " + context.committedWords() + ")");
  93             }
  94         }
  95 
  96     }
  97 
  98     @Override
  99     public String toString() {
 100         return "commitLimit=" + context.commitLimit +
 101                 ", reserveLimit=" + context.reserveLimit +
 102                 ", testAllocationCeiling=" + testAllocationCeiling +
 103                 ", num_allocators=" + numThreads +
 104                 ", seconds=" + seconds;
 105     }
 106 

 107 }
< prev index next >