Issue Details (XML | Word | Printable)

Key: RVM-414
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Ian Rogers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RVM

Literal boot image referenced objects not marked as literals in the JTOC

Created: 20/Mar/08 10:27 AM   Updated: 11/Apr/08 09:46 AM
Component/s: Runtime
Affects Version/s: None
Fix Version/s: 1000

Time Tracking:
Not Specified


 Description  « Hide
r14044 switched back from using a bit vector to distinguish field and literal values in the JTOC to using a hashmap. This is because the hashmaps have faster than O search times for an object, important for quick running benchmarks that spend a lot of their initial time loading and creating utf8 atoms. A downside to this is that reference fields cannot be easily flagged as literals at boot image write time. A problem arises at boot image write time as a JTOC slot represents a field, whereas the field itself is buried away somewhere in the host VM. If we try to force the field value into the JTOC at boot image write time then I find we get NPEs when the boot image is built with the opt compiler. Not having the literals flagged in the JTOC may mean we needlessly duplicate objects within the JTOC.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.