RFR 8150778: Reduce Throwable.getStackTrace() calls to the JVM

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Mar 11 23:36:29 UTC 2016


On 03/08/2016 01:55 AM, Coleen Phillimore wrote:
>> Aside: see the last experiment, avoiding StringTable::intern (shows in
>> profiles a lot!) trims down construction costs down even further. I'd
>> think that is a worthwhile improvement to consider.
> 
> Hm, this is an interesting experiment.  I've been looking for a better
> way to store the name of the method rather than cpref.

I did some preliminary work for storing class names (those are easy,
since Class.name is already there on Java side). Would be nice to handle
both method names and source files, because we are looking at some nice
improvements:
  https://bugs.openjdk.java.net/browse/JDK-8151751

Can you pick it up, and follow up further?

Cheers,
-Aleksey




More information about the core-libs-dev mailing list