Hi This changes fixes two memory issues.
In awt_PrintControl.cpp, a wrong pointer is freed. In LigatureSubstProc2.cpp, line 157: stack[++mm] = componentGlyph; can overwrite the stack by one element. It will write stack[nComponents], because ++mm increments before accessing the array. Fix: increase the size of the array by one. Please review this change: http://cr.openjdk.java.net/~goetz/wr16/8161923-jdkMem/webrev.01/ Best regards, Goetz.