[OpenJDK 2D-Dev] CR 7029934 : Xrender: Text is truncated with 64 bit Linux JRE
james.graham at oracle.com
Thu Mar 31 15:16:49 PDT 2011
Is there a need to free all of the glyphs in a single call? Perhaps you
could just convert and free up to N at a time where N is the size of
your stack allocated array?
On 3/31/2011 1:31 PM, Phil Race wrote:
> On 3/31/2011 12:07 PM, Phil Race wrote:
>> So .. I took the liberty of revising the fix :
>> - In the 32 bit case we now avoid stack or malloc allocation - basically
>> doing what the code was doing previously.
>> - In the 64 bit case we use the stack up to 256 glyphs (maybe this is
>> too much
>> as its going to be 256*8 = 1Kbytes?) and malloc above that. I could
> Duh! That's 2Kbytes .. I think I'll dial this back to maybe 64 glyphs =
> 512 bytes
> before I push.
More information about the 2d-dev