Interpreter cleanup

Sergey Kuksenko sergey.kuksenko at
Thu Aug 10 18:43:59 UTC 2017

I confirm that given patch gives 8%-30% the interpreter performance 
speedup (depends on scenario).

Previously sent Roland's patch (under review now) also gives a huge 
speedup for interpreter.

Together Frederic's patch + Roland's patch gives 1.5x-2.8x times speedup 
for the interpreter.

I'll do full report when both patches will be committed.

On 08/10/2017 07:37 AM, Frederic Parain wrote:
> Here’s a patch with a set of simplifications of the interpreter support
> for vbytecodes.
> Sergey has identified method find_field_from_offset() as a performance
> issue. Unfortunately, it was used a lot in the interpreterRuntime code.
> The changeset gets rid of all calls to this method in the interpreter runtime.
> The changes also make a better usage of values computed by the
> assembly code of the template interpreter, passing these values to
> the runtime rather than letting the interpreter runtime computing them again.
> The changes pass hotspot_valhalla and idk_valhalla_mvt test suites.
> Fred

Best regards,
Sergey Kuksenko

More information about the valhalla-dev mailing list