Closed
Bug 504353
Opened 16 years ago
Closed 16 years ago
MethodInfo::verify needs some volatile qualifiers
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stejohns, Unassigned)
Details
Attachments
(1 file, 2 obsolete files)
|
5.61 KB,
patch
|
edwsmith
:
review+
|
Details | Diff | 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 1•16 years ago
|
||
Comment on attachment 388731 [details] [diff] [review]
Patch
Jeff says this isn't a complete fix
Attachment #388731 -
Flags: review?(edwsmith) → review-
| Reporter | ||
Comment 2•16 years ago
|
||
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
| Reporter | ||
Comment 3•16 years ago
|
||
(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 :-)
| Reporter | ||
Comment 4•16 years ago
|
||
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)
Updated•16 years ago
|
Attachment #388753 -
Flags: review?(edwsmith) → review+
Comment 5•16 years ago
|
||
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)]
}
| Reporter | ||
Comment 6•16 years ago
|
||
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)
Updated•16 years ago
|
Attachment #388770 -
Flags: review?(edwsmith) → review+
| Reporter | ||
Comment 7•16 years ago
|
||
pushed to redux as changeset: 2144:825a919d40ef
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 8•16 years ago
|
||
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.
Description
•