Closed Bug 504353 Opened 16 years ago Closed 16 years ago

MethodInfo::verify needs some volatile qualifiers

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stejohns, Unassigned)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch Patch (obsolete) — Splinter Review
If the JIT throws an exception it tries to clean up coder -- but coder isn't marked as volatile and could be clobbered by the try/catch setmp.
Attachment #388731 - Flags: review?(edwsmith)
Comment on attachment 388731 [details] [diff] [review] Patch Jeff says this isn't a complete fix
Attachment #388731 - Flags: review?(edwsmith) → review-
Comment on attachment 388731 [details] [diff] [review] Patch I am a bonehead and have misdiagnosed the bug here entirely. Entirely new patch coming up soon.
Attachment #388731 - Attachment is obsolete: true
(In reply to comment #1) > (From update of attachment 388731 [details] [diff] [review]) > Jeff says this isn't a complete fix Not even a partial fix :-)
Attached patch Patch #2 (obsolete) — Splinter Review
Let's try this again, with a little placement-new love. (Also, existing code wouldn't compile with FEATURE_NANOJIT disabled... fixed that too)
Attachment #388753 - Flags: review?(edwsmith)
Attachment #388753 - Flags: review?(edwsmith) → review+
Comment on attachment 388753 [details] [diff] [review] Patch #2 suggest using intptr_t buffers (and scaling the size) to ensure proper alignment. or this might work: union { CodegenLIR foo char cogen_buf[sizeof(CodegenLIR)] }
Attached patch Patch #3Splinter Review
Same as Patch #2 but with aligned buffers. (the union trick won't work, as union members can't have ctors)
Attachment #388753 - Attachment is obsolete: true
Attachment #388770 - Flags: review?(edwsmith)
Attachment #388770 - Flags: review?(edwsmith) → review+
pushed to redux as changeset: 2144:825a919d40ef
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: