Superword - Aligning arrays

James Walsh groundskeeperwiley at
Mon Feb 2 09:27:56 PST 2009

I have the arrays aligned now and the SIMD ops run properly until I hit garbage collection.  I have a couple questions about that.  Where do I need to look to make sure the array payloads are aligned after collection?  Also I think when garbage collction starts it checks to see that the array objects are aligned on 8byte boundaries.  On the 32bit machine I'm working on the float array headers are 12bytes so those array objects are not going to be object aligned on 8bytes.  Should I eliminate object alignment checks for arrays?  Or is there a better way of getting around that problem?


More information about the hotspot-dev mailing list