mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 08:34:30 +02:00
8054993: type info cache may be disabled for test262 and tests explicitly changing that property should use @fork
Reviewed-by: lagergren, hannesw
This commit is contained in:
parent
20607aa6c3
commit
f2ebff72ba
3 changed files with 4 additions and 0 deletions
|
@ -519,6 +519,8 @@ grant codeBase "file:/${basedir}/test/script/markdown.js" {
|
|||
<java classname="${parallel.test.runner}" dir="${basedir}" fork="true">
|
||||
<jvmarg line="${ext.class.path}"/>
|
||||
<jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/>
|
||||
<!-- avoid too many typeinfo cache files. Each script is run only once anyway -->
|
||||
<jvmarg line="-Dnashorn.typeInfo.disabled=true"/>
|
||||
<classpath>
|
||||
<pathelement path="${run.test.classpath}"/>
|
||||
</classpath>
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
* forever, so make this test future safe, we specify them explicitly
|
||||
*
|
||||
* @test
|
||||
* @fork
|
||||
* @runif external.octane
|
||||
* @option -scripting
|
||||
* @option -Dnashorn.typeInfo.disabled=true
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
* forever, so make this test future safe, we specify them explicitly
|
||||
*
|
||||
* @test
|
||||
* @fork
|
||||
* @option -Dnashorn.compiler.splitter.threshold=1000
|
||||
* @fork
|
||||
* @runif external.octane
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue