PATCH: object stream dumping

Bryce McKinlay bryce@albatross.co.nz
Thu Nov 23 21:10:00 GMT 2000


This patch makes the serialized object dumping code conditional on the
value of the Configuration.DEBUG flag. It also changes the code to be
enabled at runtime by setting the "gcj.dumpobjects" system property
rather than by calling a method (we should never add new public methods
to the core java classes defined in the spec).

To get the debugging output, you should do BOTH of the following:

1. configure libgcj with "--enable-libgcj-debug"
2. set "gcj.dumpobjects" to anything other than null or the empty
string. You can do this by calling System.setProperty("gcj.dumpobjects",
"true") in program code or by using "-Dgcj.dumpobjects=true" on the gcj
command line.

ok to commit?

regards

  [ bryce ]



More information about the Java-patches mailing list