RFR: 8171853: Remove Shark compiler

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Oct 15 20:26:58 UTC 2017


Hi Roman!

On 10/15/2017 12:41 AM, Roman Kennke wrote:
> The JEP to remove the Shark compiler has received exclusively positive
> feedback (JDK-8189173) on zero-dev. So here comes the big patch to remove it.

I have now read through the JEP and I have to say, I'm sad to see Shark go.

In my opinion, Shark should be a supported version of the JVM as LLVM is gaining
code generation support for more and more architectures. I have always liked the
idea to split out the code generation of compilers into a separate project and,
in fact, the compilers for many other languages like Rust and Julia rely on LLVM.

It's a pity that this value is not seen within the OpenJDK project.

> I tested by building a regular x86 JVM and running JTREG tests. All looks fine.
> 
> - I could not build zero because it seems broken because of the recent Atomic::* changes

I just performed a Zero test build with the current HG revision of OpenJDK on x86_64
without any problems and Zero on SPARC builds fine as well, so the problem you are
seeing has apparently been fixed now. I have not tested your patch yet though, I just
wanted to verify whether Zero still builds fine.

> - I could not test any of the other arches that seemed to reference Shark (arm and sparc)

I will test this later. I am currently waiting for JDK-8186579 to get merged which fixes
the last problem on Linux-SPARC.

Adrian

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list