Issue Details (XML | Word | Printable)

Key: RVM-228
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Daniel Frampton
Votes: 0
Watchers: 0
Operations

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

Turn off bounds checks and null checks in uninterruptible code

Created: 18/Sep/07 02:23 AM   Updated: 16/Jul/08 04:06 PM
Component/s: Compiler: Optimizing
Affects Version/s: None
Fix Version/s: 3.1

Time Tracking:
Not Specified

File Attachments: 1. Text File fix-nochecks.patch (0.8 kB)
2. Text File uninterruptible-checks.patch (1 kB)

Issue Links:
dependent
 


 Description  « Hide
By turning off null checks and bounds checks we can reduce the amount of code in the boot image slightly.

I have attached two patches. One to fix the nobounds/nonullcheck options that failed for me due to missing guards, and a second to turn off the checks within uninterruptible code.

My very quick test for production indicated we could save a little over 1MB.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ian Rogers added a comment - 14/Mar/08 10:08 AM
Is there any reason these patches haven't been applied?

David Grove added a comment - 14/Mar/08 10:21 AM
It's not correct to do so until the pragma uninterruptible/unpreemtpible mess is cleaned up. There's too much sloppy use of the NoWarn backdoors.

Ian Rogers added a comment - 14/Mar/08 10:32 AM
Ugh, can we create some issues to get this cleaned up. I noticed there weren't any in JIRA or even on sourceforge.

David Grove added a comment - 14/Mar/08 10:41 AM