This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: replace mutex with object synchronization


Per Bothner wrote:

Jeff Sturm wrote:

When I ran the -fno-assume-compiled experiment I was simply trying to
link as small an executable as possible. Efficiency wasn't important. I
ran the application once printing the name of each class as it was loaded,


Did you use any special tools or patch for this?

I'm thinking it might be useful to implement some property that
if set will print out to a file each class that gets initialized.
Optionally, it might print out a stack trace, in case one wants
to figure out "why is this class gettin initialized"?


Yeah, I think this would be useful. I'm thinking of adding some infrastructure for debugging class linking (offset tables, etc), and "initialization traces" could be added to that.

Regards

Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]