8337334: Test tools/javac/7142086/T7142086.java timeout with fastdebug binary

Reviewed-by: vromero
This commit is contained in:
SendaoYan 2024-08-12 15:43:40 +00:00 committed by Vicente Romero
parent a36fb368e1
commit 04b146a31f
2 changed files with 12 additions and 3 deletions
test/langtools
TEST.ROOT
tools/javac/7142086

@ -42,4 +42,5 @@ requires.extraPropDefns.vmOpts = \
-XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI \ -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI \
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED
requires.properties= \ requires.properties= \
vm.continuations vm.continuations \
vm.debug

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -23,12 +23,20 @@
/* /*
* @test * @test
* @bug 7142086 * @bug 7142086 8337334
* @requires vm.debug == false
* @summary performance problem in Check.checkOverrideClashes(...) * @summary performance problem in Check.checkOverrideClashes(...)
* @modules jdk.compiler * @modules jdk.compiler
* @run main/timeout=10 T7142086 * @run main/timeout=10 T7142086
*/ */
/*
* @test
* @requires vm.debug == true
* @modules jdk.compiler
* @run main/timeout=20 T7142086
*/
import com.sun.source.util.JavacTask; import com.sun.source.util.JavacTask;
import java.net.URI; import java.net.URI;
import java.util.List; import java.util.List;