Please review fix to StackOverflowError in jigsaw tracing

Mandy Chung mandy.chung at oracle.com
Tue May 11 13:30:51 PDT 2010


I have a fix for:
   6951456: jigsaw JIGSAW_TRACE=3 stack overflow due to recursion

Trace may be called while the classes for tracing (e.g. java.util.Formatter)
are being loaded. One solution is to cache the traces to avoid recursion
until the very first call completes.

Webrev at:
   http://cr.openjdk.java.net/~mchung/6951456/webrev.00/

Thanks
Mandy



More information about the jigsaw-dev mailing list