hotspot/test/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java
changeset 29678 dd2f3932c21e
parent 28190 5a6b07edeb21
child 33730 30e064828045
equal deleted inserted replaced
29586:889895365eb9 29678:dd2f3932c21e
     1 /*
     1 /*
     2  * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2015, 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.
    26 /**
    26 /**
    27  * @test
    27  * @test
    28  * @bug 8035968
    28  * @bug 8035968
    29  * @summary Verify that SHA-256 multi block intrinsic is actually used.
    29  * @summary Verify that SHA-256 multi block intrinsic is actually used.
    30  * @library /testlibrary /../../test/lib /compiler/testlibrary ../
    30  * @library /testlibrary /../../test/lib /compiler/testlibrary ../
       
    31  * @modules java.base/sun.misc
       
    32  *          java.management
    31  * @build TestSHA intrinsics.Verifier TestSHA256MultiBlockIntrinsics
    33  * @build TestSHA intrinsics.Verifier TestSHA256MultiBlockIntrinsics
    32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    34  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    35  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    36  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    35  *                   -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500
    37  *                   -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500