[OpenJDK 2D-Dev] Question about AccelGlyphCache_AddGlyph
Clemens Eisserer
linuxhippy at gmail.com
Mon Jun 9 10:08:09 UTC 2008
Hello,
1. In AccelGlyphCache_AddGlyph the cache simply nulls the
cellInfo-field, if the glyphinfo is removed from cache:
// if the cell is occupied, notify the base glyph that its
// cached version is about to be kicked out
cellinfo->glyphInfo->cellInfo = NULL;
Is this really always safe? Couldn't there be the case that glyphInfo
has already been free'd, so that cellinfo->glyphInfo points to
garbage?
2. Where can I set the logging-level used at build-time, so that the
J2dTraceLn's will be compiled in?
Thanks, Clemens
More information about the 2d-dev
mailing list