Closed
Bug 520037
Opened 16 years ago
Closed 16 years ago
heapSpace array should have correct alignment for GCHeap structure
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: chris, Assigned: lhansen)
Details
Attachments
(1 file, 1 obsolete file)
|
3.68 KB,
patch
|
edwsmith
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14
Build Identifier:
GCHeap::Init instantiates a GCHeap object using the heapSpace array.
GCHeap needs to be 8 byte aligned on some platforms (it contains double data)
The heapSpace array is defined as a uint8_t array which won't necessarily have the correct alignment
Reproducible: Always
| Reporter | ||
Comment 1•16 years ago
|
||
A workaround patch to fix the heapSpace alignment problem
It's not ideal because it replicates macros that already exist in vprof/vprof.h. I don't know the acceptable attribute/declspec values for non-GCC compilers so I have just left them as is.
I think it would be useful to have a global set of macros to deal with alignment issues
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → lhansen
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → flash10.1
| Assignee | ||
Comment 2•16 years ago
|
||
Lifts AVMPLUS_ALIGN16 into platform header files; adds AVMPLUS_ALIGN8; uses the latter to fix the heapSpace alignment.
Attachment #404095 -
Attachment is obsolete: true
Attachment #404207 -
Flags: review?(edwsmith)
| Assignee | ||
Updated•16 years ago
|
Priority: -- → P2
Updated•16 years ago
|
Attachment #404207 -
Flags: review?(edwsmith) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
redux changeset: 2666:aca9df4b22c6
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•