TestStringDeduplicationTableRehash.java revision 11833:1cbffa2beba6
1249259Sdim/*
2249259Sdim * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
3249259Sdim * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4249259Sdim *
5249259Sdim * This code is free software; you can redistribute it and/or modify it
6249259Sdim * under the terms of the GNU General Public License version 2 only, as
7249259Sdim * published by the Free Software Foundation.
8249259Sdim *
9249259Sdim * This code is distributed in the hope that it will be useful, but WITHOUT
10249259Sdim * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11249259Sdim * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12249259Sdim * version 2 for more details (a copy is included in the LICENSE file that
13249259Sdim * accompanied this code).
14249259Sdim *
15249259Sdim * You should have received a copy of the GNU General Public License version
16249259Sdim * 2 along with this work; if not, write to the Free Software Foundation,
17249259Sdim * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18249259Sdim *
19249259Sdim * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20249259Sdim * or visit www.oracle.com if you need additional information or have any
21249259Sdim * questions.
22249259Sdim */
23249259Sdim
24249259Sdim/*
25249259Sdim * @test TestStringDeduplicationTableRehash
26249259Sdim * @summary Test string deduplication table rehash
27249259Sdim * @bug 8029075
28249259Sdim * @key gc
29249259Sdim * @library /test/lib
30249259Sdim * @modules java.base/jdk.internal.misc
31263508Sdim *          java.management
32249259Sdim */
33249259Sdim
34249259Sdimpublic class TestStringDeduplicationTableRehash {
35249259Sdim    public static void main(String[] args) throws Exception {
36249259Sdim        TestStringDeduplicationTools.testTableRehash();
37249259Sdim    }
38249259Sdim}
39249259Sdim