Skip to content


8293785: Add a jtreg test for TraceOptoParse
Browse files Browse the repository at this point in the history
Reviewed-by: chagedorn, jiefu
  • Loading branch information
bobpengxie authored and DamonFool committed Oct 28, 2022
1 parent 754bd53 commit 823fd4a
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions test/hotspot/jtreg/compiler/print/
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
* Copyright (c) 2022 THL A29 Limited, a Tencent company. All rights reserved.
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit if you need additional information or have any
* questions.

* @test
* @bug 8293785
* @summary test for -XX:+TraceOptoParse
* @requires vm.debug & vm.compiler2.enabled
* @run main/othervm -XX:+TraceOptoParse compiler.print.TestTraceOptoParse

package compiler.print;

public class TestTraceOptoParse {
public static void main(String[] args) {

1 comment on commit 823fd4a

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.