test/jdk/jdk/internal/jimage/JImageOpenTest.java
changeset 57960 28915ebc6510
parent 47216 71c04702a3d5
equal deleted inserted replaced
57959:6b539901e79e 57960:28915ebc6510
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2019, 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.
    29 import java.util.List;
    29 import java.util.List;
    30 import java.util.stream.Collectors;
    30 import java.util.stream.Collectors;
    31 import java.util.stream.Stream;
    31 import java.util.stream.Stream;
    32 
    32 
    33 /*
    33 /*
    34  * jimage shared open testing.
       
    35  * @test
    34  * @test
    36  * @summary Test to see if thread interrupt handling interferes with other threads.
    35  * @summary Test to see if thread interrupt handling interferes with other threads.
    37  * @build JImageOpenTest.java
       
    38  * @run main/othervm -Djdk.image.map.all=false JImageOpenTest
    36  * @run main/othervm -Djdk.image.map.all=false JImageOpenTest
    39  */
    37  */
    40 public class JImageOpenTest {
    38 public class JImageOpenTest {
    41     private static final int NTHREADS = 10;
    39     private static final int NTHREADS = 10;
    42 
    40