changeset 36:0844352df50d

Purge obsolete LinkedListGC.
author shade
date Fri, 02 Dec 2016 17:20:25 +0100
parents c65e5eaf3b0d
children 01d80497be8b
files src/main/java/org/openjdk/gcbench/wip/LinkedListGC.java
diffstat 1 files changed, 0 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/org/openjdk/gcbench/wip/LinkedListGC.java	Fri Dec 02 17:15:56 2016 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-package org.openjdk.shenandoah.wip;
-
-import org.openjdk.jmh.annotations.*;
-import org.openjdk.jmh.infra.Blackhole;
-
-import java.util.LinkedList;
-import java.util.concurrent.TimeUnit;
-
-@Warmup(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
-@Measurement(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
-@Fork(value = 1, jvmArgsAppend = {"-Xmx2g", "-Xms2g"})
-@BenchmarkMode(Mode.AverageTime)
-@OutputTimeUnit(TimeUnit.NANOSECONDS)
-@Threads(Threads.MAX)
-@State(Scope.Benchmark)
-public class LinkedListGC {
-
-    LinkedList<Object> list;
-
-    @Param({"1", "10", "100", "1000"})
-    private int size;
-
-
-    @Setup
-    public void setup() {
-        list = new LinkedList<>();
-        for (int c = 0; c < size; c++) {
-            list.add(new Object());
-        }
-    }
-
-    @Benchmark
-    public void test() throws InterruptedException {
-        Thread.sleep(100);
-    }
-
-}