equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 package compiler.codecache.stress; |
25 package compiler.codecache.stress; |
26 |
26 |
27 import jdk.test.lib.TimeLimitedRunner; |
27 import jdk.test.lib.wrappers.TimeLimitedRunner; |
28 import jdk.test.lib.Utils; |
28 import jdk.test.lib.Utils; |
29 |
29 |
30 public class CodeCacheStressRunner { |
30 public class CodeCacheStressRunner { |
31 private final Runnable action; |
31 private final Runnable action; |
32 public CodeCacheStressRunner(Runnable action) { |
32 public CodeCacheStressRunner(Runnable action) { |