Superword - Aligning arrays
James Walsh
groundskeeperwiley at yahoo.com
Wed Jan 21 16:57:39 PST 2009
What would be the best way of allocating the arrays on the proper boundry? Would it be better to add an alignment flag or just assume that any array of (sizebytes%16-bytes==0) and any array of greater than 64bytes should be aligned? I'm guessing I would then need to adjust the klass header to align it to the boundry too. Then with garbage collection I assume I would have to make sure the new location is also aligned.
More information about the hotspot-dev
mailing list