< prev index next >
test/hotspot/jtreg/runtime/Metaspace/elastic/AllocationProfile.java
Print this page
rev 60811 : imported patch jep387-all.patch
rev 60812 : [mq]: diff1
*** 46,56 ****
public long randomAllocationSize() {
Random r = new Random();
return r.nextInt((int)(maximumSingleAllocationSize - minimumSingleAllocationSize + 1)) + minimumSingleAllocationSize;
}
-
// Some standard profiles
static final List<AllocationProfile> standardProfiles = new ArrayList<>();
static {
standardProfiles.add(new AllocationProfile("medium-range",1, 2048, 0.15));
--- 46,55 ----
< prev index next >