Graal generated assembly much larger than C2
Carl M
java at rkive.org
Sun May 26 22:21:23 UTC 2019
Hi,
I am new to trying out Graal, and found that it was much slower for
a trivial benchmark I wrote. I was surprised that it was about 40%
slower, so I dumped the assembly and found it was much larger for
the Graal version. I collected a dump of the assembly, but I am not
much of a compiler person so I don't know what to do with it.
Is this the right list to see if there is something wrong?
Assembly of each compiler (and JVM flags):
https://gist.github.com/carl-mastrangelo/5fe2f1f744c05ca20242cad9b5f7fb26
Source code inner loop:
https://github.com/carl-mastrangelo/perfmark/blob/b266d9494054b5a2d09bc62f7b234d693e2d5173/java9/src/main/java/io/perfmark/java9/VarHandleMarkHolder.java#L129
More information about the graal-dev
mailing list