Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.1.0
-
Fix Version/s: 3.1.4
-
Component/s: MMTk: GCTrace
-
Labels:None
-
Environment:Ubuntu linux 8.10 IA32
-
Number of attachments :
Description
When I built the Jikes 3.1.0 with FullAdaptiveGCTrace option. I got the following error. The reason seems to be bootimage doesn't support non ADDRESS_BASED_HASHING (Merlin uses this setting) when allocating an array.
build-bootimage-writer:
[mkdir] Created dir: /work/jikesrvm-3.1.0-original/target/FullAdaptiveGCTrace_ia32-linux/bootimage-writer
[javac] Compiling 8 source files to /work/jikesrvm-3.1.0-original/target/FullAdaptiveGCTrace_ia32-linux/bootimage-writer
gen-primordial-list:
build-bootimage:
[echo] Building bootimage. Output redirected to : /work/jikesrvm-3.1.0-original/target/FullAdaptiveGCTrace_ia32-linux/BootImageWriterOutput.txt
[echo] MMTk properties = /work/jikesrvm-3.1.0-original/build/mmtk/default.properties
[java] BootImageWriter: compiler arg: O2
[java] Java Result: 1
[echo] BootImageCompiler: init (opt compiler)
[echo] Exception in thread "main" java.lang.Error: Unsupported allocation
[echo] while copying [C@14269a6:class [C from null
[echo] at org.jikesrvm.tools.bootImageWriter.BootImageWriter.copyToBootImage(BootImageWriter.java:1999)
[echo] at org.jikesrvm.tools.bootImageWriter.BootImageWriter.processPendingEntries(BootImageWriter.java:1872)
[echo] at org.jikesrvm.tools.bootImageWriter.BootImageWriter.main(BootImageWriter.java:1006)
[echo] Caused by: java.lang.Error: Unsupported allocation
[echo] at org.jikesrvm.objectmodel.ObjectModel.allocateArray(ObjectModel.java:840)
[echo] at org.jikesrvm.objectmodel.ObjectModel.allocateArray(ObjectModel.java:815)
[echo] at org.jikesrvm.tools.bootImageWriter.BootImage.allocateArray(BootImage.java:249)
[echo] at org.jikesrvm.tools.bootImageWriter.BootImageWriter.copyToBootImage(BootImageWriter.java:1944)
[echo] ... 2 more
BUILD FAILED
/work/jikesrvm-3.1.0-original/build.xml:1434: The following error occurred while executing this line:
/work/jikesrvm-3.1.0-original/build.xml:1443: Failed to write bootimage.
bulk defer open issues to 3.1.2