hotspot/test/gc/g1/humongousObjects/TestHumongousMovement.java
changeset 39414 4adf52148100
parent 38152 80e5da81fb2c
child 40631 ed82623d7831
equal deleted inserted replaced
39403:37f78de0f227 39414:4adf52148100
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 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.
    37 import java.util.stream.Collectors;
    37 import java.util.stream.Collectors;
    38 
    38 
    39 /**
    39 /**
    40  * @test TestHumongousMovement
    40  * @test TestHumongousMovement
    41  * @summary Checks that Humongous objects are not moved during GC
    41  * @summary Checks that Humongous objects are not moved during GC
    42  * @requires vm.gc=="G1" | vm.gc=="null"
    42  * @requires vm.gc.G1
    43  * @library /testlibrary /test/lib /
    43  * @library /testlibrary /test/lib /
    44  * @modules java.base/jdk.internal.misc
    44  * @modules java.base/jdk.internal.misc
    45  * @modules java.management
    45  * @modules java.management
    46  * @build sun.hotspot.WhiteBox
    46  * @build sun.hotspot.WhiteBox
    47  *        gc.testlibrary.Helpers
    47  *        gc.testlibrary.Helpers