#1731: Assumption made about buffer header alignment
-------------------------------------+--------------------------------------
 Reporter:  Paul C. Anagnostopoulos  |       Owner:  Paul C. Anagnostopoulos
     Type:  bug                      |      Status:  assigned               
 Priority:  normal                   |   Milestone:                         
Component:  core                     |     Version:  2.6.0                  
 Severity:  low                      |    Keywords:                         
     Lang:                           |       Patch:                         
 Platform:                           |  
-------------------------------------+--------------------------------------

Comment(by Paul C. Anagnostopoulos):

 We have two options for fixing the faulty assumption described in the
 original ticket.

 One approach is to simply declare by fiat that the size of the buffer
 prolog will always equal the size of a pointer. This means that the buffer
 data area will always be aligned on the same alignment as a pointer; there
 will be no possibility of any other alignment.

 The second approach is actually to fix the problem. This means that the
 calculation of the buffer alignment will become more complex, which
 affects about a dozen functions in three or four files.

 Which approach should we take?

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1731#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to