openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey (JIRA)" <>
Subject [jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects
Date Tue, 27 Feb 2007 19:37:05 GMT


Patrick Linskey commented on OPENJPA-160:

Hmm. I don't get it. The only thing in newInstance() is 'new BrokerImpl()'. It's my understanding
that all of the BrokerImpl construction should be reported in the BrokerImpl.<init>
method call. I have a hard time believing that memory allocation (the only other thing that
should be involved in a 'new BrokerImpl()' call) is taking up 9.1% of the time.

What profiler are you using? Did you run the test without the profiler also, to see if it's
inspection overhead?

Am I wrong in thinking that the construction time, including inlined field assignments, will
be in BrokerImpl.<init>?

> Reuse BrokerImpl objects
> ------------------------
>                 Key: OPENJPA-160
>                 URL:
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Michael Dick
>         Assigned To: Patrick Linskey
>         Attachments: newprofile.jpg, openjpa-160-patch.txt, openjpa-160-patch.txt, perf2.jpg,

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message