Uncommon trap in OptimizedCallTarget::executeHelper

Stefan Marr java at stefan-marr.de
Tue Jan 21 06:52:05 PST 2014

Hi Andreas:

On 21 Jan 2014, at 14:03, Andreas Woess <andreas.woess at jku.at> wrote:

> I've committed a fix that should solve this issue. It will arrive in the openjdk repository by tomorrow. I also suggest you add @SlowPath to Universe.{get,set,has}Global.

Thanks. I marked the access to the globals hash map with @SlowPath.
That in itself didn’t have a lot of an effect. So, I am looking forward to the patch.

However, I also went one step further and introduced a CachedGlobalReadNode specialization, which actually makes a bit of a difference. It gives up to 10-20% speedup on a variety of benchmarks.


Stefan Marr
INRIA Lille - Nord Europe

More information about the graal-dev mailing list