Searched refs:garbage (Results 1 - 25 of 28) sorted by relevance

12

/openjdk10/hotspot/test/gc/survivorAlignment/
H A DTestPromotionLABLargeSurvivorAlignment.java63 Object garbage[] = new Object[1000000];
64 for (int i = 0; i < garbage.length; i++) {
65 garbage[i] = new byte[0];
H A DSurvivorAlignmentTestMain.java107 private final Object[] garbage; field in class:SurvivorAlignmentTestMain
267 garbage = new Object[arrayLength];
277 for (int i = 0; i < garbage.length; i++) {
278 garbage[i] = new byte[byteArrayLength];
286 for (int i = 0; i < garbage.length; i++) {
287 garbage[i] = null;
293 * objects referenced from {@code garbage} array.
298 garbage.length);
316 System.out.println("Allocated objects count: " + garbage.length);
390 garbage
[all...]
/openjdk10/hotspot/test/gc/cms/
H A DDisableResizePLAB.java36 Object garbage[] = new Object[1_000];
37 for (int i = 0; i < garbage.length; i++) {
38 garbage[i] = new byte[0];
/openjdk10/hotspot/test/gc/arguments/
H A DAllocationHelper.java47 // garbageStorage is used to store link to garbage to prevent optimization.
49 private byte garbage[][]; field in class:AllocationHelper
68 garbage = new byte[this.arrayLength][];
69 garbageStorage = garbage;
74 garbage[j] = new byte[chunkSize];
106 * Release link to allocated garbage to make it available for further GC
109 if (garbage != null) {
110 garbage = null;
H A DTestVerifyBeforeAndAfterGCFlags.java111 static long[][] garbage = new long[10][]; field in class:TestVerifyBeforeAndAfterGCFlags.GarbageProducer
116 garbage[j] = new long[10000];
117 j = (j+1)%garbage.length;
H A DTestMaxMinHeapFreeRatioFlags.java140 // Length of byte array, that will be added to "garbage" list.
153 public static LinkedList<Object> garbage = new LinkedList<>(); field in class:TestMaxMinHeapFreeRatioFlags.RatioVerifier
172 // in case it brings more garbage.
179 garbage.add(new byte[ARRAY_LENGTH]);
193 garbage.add(new byte[CHUNK_SIZE]);
211 while (memoryToFree > 0 && garbage.size() > 0) {
212 garbage.remove(garbage.size() - 1);
H A DTestMinAndInitialSurvivorRatioFlags.java121 public static byte garbage[][] = new byte[ARRAY_LENGTH][]; field in class:TestMinAndInitialSurvivorRatioFlags.SurvivorRatioVerifier
/openjdk10/hotspot/test/gc/
H A DTestObjectAlignment.java50 public static byte[] garbage; field in class:TestObjectAlignment
62 garbage = new byte[1000];
/openjdk10/test/failure_handler/test/sanity/
H A DOOME.java34 private static Object garbage; field in class:OOME
39 garbage = list;
/openjdk10/hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/
H A DJVMStartup.java38 byte[] garbage = new byte[8192];
42 garbage = new byte[8192];
/openjdk10/hotspot/test/gc/g1/
H A DTestHumongousShrinkHeap.java52 private static final List<List<byte[]>> garbage = new ArrayList(); field in class:TestHumongousShrinkHeap
113 garbage.add(stuff);
119 garbage.subList(0, garbage.size() - 1).clear();
122 List stuff = garbage.get(garbage.size() - 1);
127 private static void allocateList(List garbage, int count, int size) { argument
129 garbage.add(new byte[size]);
H A DTestShrinkDefragmentedHeap.java83 private static final ArrayList<ArrayList<byte[]>> garbage = new ArrayList<>(); field in class:TestShrinkDefragmentedHeap.GCTest
126 garbage.add(stuff);
130 garbage.add(humongousStuff);
136 garbage.subList(0, garbage.size() - 1).clear();
139 ArrayList stuff = garbage.get(garbage.size() - 1);
159 private static void allocateList(List garbage, int count, int size) { argument
161 garbage.add(new byte[size]);
H A DTestShrinkAuxiliaryData.java220 private final List<GarbageObject> garbage = new ArrayList(); field in class:TestShrinkAuxiliaryData.ShrinkAuxiliaryDataTest
280 garbage.add(g);
290 for (int ig = 0; ig < garbage.size(); ig++) {
299 // get random garbage object from random region
300 garbage.get(ig).addRef(garbage.get(regionToLink
308 for (int ig = 0; ig < garbage.size(); ig++) {
309 garbage.get(ig).mutate();
314 garbage.clear();
H A DTestEagerReclaimHumongousRegionsClearMarkBits.java60 Object[] garbage = new Object[50];
61 garbage[0] = large;
62 garbageList.add(garbage);
H A DTestGreyReclaimedHumongousObjects.java112 byte[] garbage = new byte[obj_size];
113 old_garbage[Math.abs(++old_index % OLD_COUNT)] = garbage;
H A DTestGCLogMessages.java258 private static byte[] garbage; field in class:TestGCLogMessages.GCTest
260 System.out.println("Creating garbage");
261 // create 128MB of garbage. This should result in at least one GC
263 garbage = new byte[128 * 1024];
270 private static byte[] garbage; field in class:TestGCLogMessages.GCTestWithToSpaceExhaustion
274 System.out.println("Creating garbage");
275 // create 128MB of garbage. This should result in at least one GC,
278 garbage = new byte[128 * 1024];
/openjdk10/hotspot/test/runtime/logging/
H A DSafepointTest.java51 public static byte[] garbage; field in class:SafepointTest.InnerClass
64 garbage = new byte[8192];
H A DVMOperationTest.java50 public static byte[] garbage; field in class:VMOperationTest.InternalClass
62 garbage = new byte[8192];
/openjdk10/hotspot/test/runtime/modules/
H A DLoadUnloadModuleStress.java44 public static byte[] garbage; field in class:LoadUnloadModuleStress
64 garbage = new byte[8192];
/openjdk10/hotspot/test/gc/logging/
H A DTestGCId.java59 private static byte[] garbage; field in class:TestGCId.GCTest
61 System.out.println("Creating garbage");
62 // create 128MB of garbage. This should result in at least one GC
64 garbage = new byte[128 * 1024];
/openjdk10/jdk/test/java/awt/Window/OwnedWindowsLeak/
H A DOwnedWindowsLeak.java56 Vector garbage = new Vector();
61 garbage.add(new byte[1000]);
68 garbage = null;
/openjdk10/hotspot/test/gc/stress/
H A DTestStressIHOPMultiThread.java113 * Fills HEAP_PREALLOC_SIZE bytes of garbage.
130 // Put reference to thread garbage into common garbage for avoiding possible optimization.
160 private final List<Object> garbage; field in class:TestStressIHOPMultiThread.AllocationThread
169 garbage = new LinkedList<>();
173 * Returns list of garbage.
174 * @return List with thread garbage.
177 return garbage;
199 * Allocates thread local garbage
204 garbage
[all...]
/openjdk10/hotspot/test/gc/ergonomics/
H A DTestDynamicNumberOfGCThreads.java78 private static byte[] garbage; field in class:TestDynamicNumberOfGCThreads.GCTest
80 System.out.println("Creating garbage");
81 // create 128MB of garbage. This should result in at least one GC
83 garbage = new byte[128 * 1024];
/openjdk10/jdk/test/java/awt/Frame/FramesGC/
H A DFramesGC.java70 Vector garbage = new Vector();
73 garbage.add(new byte[1000]);
78 garbage = null;
/openjdk10/jdk/test/java/awt/Frame/DisposeParentGC/
H A DDisposeParentGC.java77 Vector garbage = new Vector();
80 garbage.add(new byte[1000]);
85 garbage = null;

Completed in 308 milliseconds

12