mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +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">
|
<java classname="${parallel.test.runner}" dir="${basedir}" fork="true">
|
||||||
<jvmarg line="${ext.class.path}"/>
|
<jvmarg line="${ext.class.path}"/>
|
||||||
<jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/>
|
<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>
|
<classpath>
|
||||||
<pathelement path="${run.test.classpath}"/>
|
<pathelement path="${run.test.classpath}"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
* forever, so make this test future safe, we specify them explicitly
|
* forever, so make this test future safe, we specify them explicitly
|
||||||
*
|
*
|
||||||
* @test
|
* @test
|
||||||
|
* @fork
|
||||||
* @runif external.octane
|
* @runif external.octane
|
||||||
* @option -scripting
|
* @option -scripting
|
||||||
* @option -Dnashorn.typeInfo.disabled=true
|
* @option -Dnashorn.typeInfo.disabled=true
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
* forever, so make this test future safe, we specify them explicitly
|
* forever, so make this test future safe, we specify them explicitly
|
||||||
*
|
*
|
||||||
* @test
|
* @test
|
||||||
|
* @fork
|
||||||
* @option -Dnashorn.compiler.splitter.threshold=1000
|
* @option -Dnashorn.compiler.splitter.threshold=1000
|
||||||
* @fork
|
* @fork
|
||||||
* @runif external.octane
|
* @runif external.octane
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue