mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-16 10:53:31 +00: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
@ -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…
x
Reference in New Issue
Block a user