RFR (S) 8073705: more performance issues in class redefinition
Daniel D. Daugherty
daniel.daugherty at oracle.com
Thu Apr 16 17:01:29 UTC 2015
Now we get to the meat of the change. :-)
Instead of the double iteration loop in the old code, you
are now taking advantage of the recent 'orig_method_idnum()'
work. So you are not only reducing the iteration count, you
are also reducing the number of adjustment calls that need
to be made. Cool.
Do you happen to have any info on perf improvements for this
fix? No big deal if you don't.
On 4/10/15 2:29 PM, serguei.spitsyn at oracle.com wrote:
> Hi Coleen and Dan,
> This is the second class redefinition scalability/optimization fix
> that is in my queue to push into 9 and 8u60.
> The approach is similar to the first one but much smaller.
> For convenience, these are the links to the first scalability fix:
> Bug report: https://bugs.openjdk.java.net/browse/JDK-8073705
> Open webrev:
> Please, let me know if you have any chance to review this.
> This is the last one that is waiting for your attention! :)
> On 3/26/15 7:38 PM, serguei.spitsyn at oracle.com wrote:
>> Please, review the fix for:
>> Open hotspot webrev:
>> This is the 2-nd round of performance/calability fixes in class
>> This time, the two remaining issues that were left alone in the
>> first round fix:
>> - optimized ConstantPoolCache::adjust_method_entries() is used
>> for previous versions
>> - the MemberNameTable::adjust_method_entries() has been
>> optimized too
>> - some cleanup
>> In progress: nsk redefine classes tests, JTREG
>> java/lang/instrument, com/sun/jdi
More information about the hotspot-dev