Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2044057 | 1.4.0 | Michael Paleczny | P3 | Resolved | Fixed | beta2 |
Compilation results in either compiler thread stack overflow or with
command-line switch -XssNm can result in OutOfMemory error.
Problem occurs during compilation of t1::main in program below:
// ------------------------------------------------------------
// t1.java
class c
{
private int val;
void setVal( int x )
{
this.val = x;
}
}
public class t1
{
public static void main( String[] args )
{
final int n = 100000000;
for ( int i = 0; i < n; i++ ) {
c aC = new c();
aC.setVal( i );
}
}
}
// ------------------------------------------------------------
// WIN32 ===== Ladybird FCS
java -Xbatch t1
CRASH
java -Xbatch -Xss1m t1
OutOfMemory in CompileThread0
The product command line did not result in a crash on Solaris SPARC
// SPARC ===== Current merlin_beta2
Assert in Node::verify_construction "Node limit exceeded" during loop unrolling.
command-line switch -XssNm can result in OutOfMemory error.
Problem occurs during compilation of t1::main in program below:
// ------------------------------------------------------------
// t1.java
class c
{
private int val;
void setVal( int x )
{
this.val = x;
}
}
public class t1
{
public static void main( String[] args )
{
final int n = 100000000;
for ( int i = 0; i < n; i++ ) {
c aC = new c();
aC.setVal( i );
}
}
}
// ------------------------------------------------------------
// WIN32 ===== Ladybird FCS
java -Xbatch t1
CRASH
java -Xbatch -Xss1m t1
OutOfMemory in CompileThread0
The product command line did not result in a crash on Solaris SPARC
// SPARC ===== Current merlin_beta2
Assert in Node::verify_construction "Node limit exceeded" during loop unrolling.
- backported by
-
JDK-2044057 compilation results in stack overflow while unrolling loop
- Resolved
- relates to
-
JDK-4724509 [1.3.1_04] Exception in "CompileThread0" java.lang.OutOfMemoryError: alloc 512MB
- Closed