Mercurial > hg > truffle
comparison test/compiler/7190310/Test7190310.java @ 7606:bf623b2d5508
8006204: please JTREGify test/compiler/7190310/Test7190310.java
Summary: Add proper jtreg annotations in the preceding comment, including an explicit timeout.
Reviewed-by: kvn, twisti
Contributed-by: david.r.chase@oracle.com
author | kvn |
---|---|
date | Wed, 16 Jan 2013 14:55:18 -0800 |
parents | 09aad8452938 |
children |
comparison
equal
deleted
inserted
replaced
7605:5b8548391bf3 | 7606:bf623b2d5508 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2012, 2013, 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. |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 /* | 25 /* |
26 * Manual test | 26 * @test |
27 * @bug 7190310 | |
28 * @summary Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops | |
29 * @run main/othervm/timeout=600 -Xbatch Test7190310 | |
30 */ | |
31 | |
32 /* | |
33 * Note bug exhibits as infinite loop, timeout is helpful. | |
34 * It should normally finish pretty quickly, but on some especially slow machines | |
35 * it may not. The companion _unsafe test lacks a timeout, but that is okay. | |
27 */ | 36 */ |
28 | 37 |
29 import java.lang.ref.*; | 38 import java.lang.ref.*; |
30 | 39 |
31 public class Test7190310 { | 40 public class Test7190310 { |