Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 1000
-
Component/s: Infrastructure: Build, Runtime
-
Labels:None
-
Number of attachments :
Description
We should be generating VM_Entrypoints from annotated source files. This reduces the chance that things will get out of synchronization and removes some clutter. (It also makes it easier to do whole code base optimizations like Object to ObjectReference change as not so many changes to track)
Just to note, one problem with using class literals is that if we use a class literal for an architecture specific class (for example org.jikesrvm.ppc.VM_Registers) then when we java to bytecode compile the class with the class literal in it, we will also java to bytecode compile the class referenced by the literal. When we generate the primordials list (from the .class files created during java to bytecode compilation) we will catch this class and end up compiling at boot image writing time classes we don't intend to. The smallest problem being that these classes contain magic methods that are architecture specific.