compile core dumps when trying to compile 1000 deep inheritance tree.
I get the following error:
ava.lang.OutOfMemoryError: sun.tools.asm.StringConstantData
at sun.tools.asm.ConstantPool.put(ConstantPool.java:51)
at sun.tools.asm.ClassConstantData.<init>(ClassConstantData.java:39)
at sun.tools.asm.ConstantPool.put(ConstantPool.java:55)
at sun.tools.javac.SourceClass.addDependency(SourceClass.java:80)
at sun.tools.javac.BatchParser.beginClass(BatchParser.java:183)
at sun.tools.java.Parser.parseClass(Parser.java:1504)
at sun.tools.java.Parser.parseFile(Parser.java:1602)
at sun.tools.javac.BatchEnvironment.parseFile(BatchEnvironment.java:13)
at sun.tools.javac.Main.compile(Main.java:159)
at sun.tools.javac.Main.main(Main.java:289)
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRERR [addr: 0xedfbb702]
stackbase=EFFFEC3C, stackpointer=EFFFE920
Full thread dump:
"Finalizer thread" (TID:0xee199370, sys_thread_t:0xef490de0) prio=1
"Async Garbage Collector" (TID:0xee199318, sys_thread_t:0xef4c0de0) prio=
"Idle thread" (TID:0xee1992a0, sys_thread_t:0xef4f0de0) prio=0
"clock handler" (TID:0xee1991f8, sys_thread_t:0xef5b0de0) prio=11
"main" (TID:0xee1990a0, sys_thread_t:0x74520) prio=5 *current thread*
java.util.Properties.load(Properties.java)
sun.tools.javac.BatchEnvironment.getProperty(BatchEnvironment.java:39)
sun.tools.javac.BatchEnvironment.errorString(BatchEnvironment.java:41)
sun.tools.javac.BatchEnvironment.error(BatchEnvironment.java:597)
sun.tools.java.Environment.error(Environment.java:371)
sun.tools.javac.Main.compile(Main.java:240)
sun.tools.javac.Main.main(Main.java:289)
Monitor Cache Dump:
sun.tools.javac.Main@EE199850/EE3344D0 (key=0xee199850): monitor owne: "main"
java.util.Properties@EE0B8F90/EE9C2158 (key=0xee0b8f90): monitor owne: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Sbrk lock: unowned
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
Abort - core dumped
TESTCASE
--------
There is an attachment for this bug.
I get the following error:
ava.lang.OutOfMemoryError: sun.tools.asm.StringConstantData
at sun.tools.asm.ConstantPool.put(ConstantPool.java:51)
at sun.tools.asm.ClassConstantData.<init>(ClassConstantData.java:39)
at sun.tools.asm.ConstantPool.put(ConstantPool.java:55)
at sun.tools.javac.SourceClass.addDependency(SourceClass.java:80)
at sun.tools.javac.BatchParser.beginClass(BatchParser.java:183)
at sun.tools.java.Parser.parseClass(Parser.java:1504)
at sun.tools.java.Parser.parseFile(Parser.java:1602)
at sun.tools.javac.BatchEnvironment.parseFile(BatchEnvironment.java:13)
at sun.tools.javac.Main.compile(Main.java:159)
at sun.tools.javac.Main.main(Main.java:289)
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRERR [addr: 0xedfbb702]
stackbase=EFFFEC3C, stackpointer=EFFFE920
Full thread dump:
"Finalizer thread" (TID:0xee199370, sys_thread_t:0xef490de0) prio=1
"Async Garbage Collector" (TID:0xee199318, sys_thread_t:0xef4c0de0) prio=
"Idle thread" (TID:0xee1992a0, sys_thread_t:0xef4f0de0) prio=0
"clock handler" (TID:0xee1991f8, sys_thread_t:0xef5b0de0) prio=11
"main" (TID:0xee1990a0, sys_thread_t:0x74520) prio=5 *current thread*
java.util.Properties.load(Properties.java)
sun.tools.javac.BatchEnvironment.getProperty(BatchEnvironment.java:39)
sun.tools.javac.BatchEnvironment.errorString(BatchEnvironment.java:41)
sun.tools.javac.BatchEnvironment.error(BatchEnvironment.java:597)
sun.tools.java.Environment.error(Environment.java:371)
sun.tools.javac.Main.compile(Main.java:240)
sun.tools.javac.Main.main(Main.java:289)
Monitor Cache Dump:
sun.tools.javac.Main@EE199850/EE3344D0 (key=0xee199850): monitor owne: "main"
java.util.Properties@EE0B8F90/EE9C2158 (key=0xee0b8f90): monitor owne: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Sbrk lock: unowned
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
Abort - core dumped
TESTCASE
--------
There is an attachment for this bug.
- duplicates
-
JDK-1237577 compiler core dumps when trying to compile 1000 deep inheritance tree
- Closed
-
JDK-1237563 compiler runs out of memory for a class with 10,000 members
- Closed
-
JDK-1237728 Compiler runs out of Memory for file with 100,000 statements
- Closed
-
JDK-4065101 javac can't compile huge arrays
- Closed