Quantcast
Channel: Java JRE vs GCJ - Stack Overflow
Browsing latest articles
Browse All 7 View Live

Answer by user2988693 for Java JRE vs GCJ

OpenJDK's native Java compiler is, itself, written in Java; as a consequence, you need a working previous version of Java in order to build a new version.If you're starting from scratch on a platform...

View Article



Answer by João Jerónimo for Java JRE vs GCJ

"So, what is the purpose of GCJ then?"Some have pointed that your "benchmark" isn't fair. However, even if it was, I can still see a use for GCJ. Suppose you want to write a kernel in Java. With a JVM,...

View Article

Answer by damjan for Java JRE vs GCJ

On x86 and AMD64, Hotspot only uses SSE for floating point, but I see that on x86 gcj doesn't seem to support SSE and uses the much slower 387 instructions:gcj -O3 -mfpmath=sse --main=Bench Bench.java...

View Article

Answer by Andrew John Hughes for Java JRE vs GCJ

It's not a fair comparison when you do the AOT (Ahead-Of-Time) compile with little optimisation (-O). Try at least -O2.It's also not as simple as one is faster than the other on a single contrived...

View Article

Answer by Mike Baranczak for Java JRE vs GCJ

GCJ is obsolete. It was started a long time ago because people wanted an open-source alternative to the Sun JDK, and it was never particularly good. Now that Sun open-sourced their JDK, there's...

View Article


Answer by Mark Renouf for Java JRE vs GCJ

You have stumbled onto another product of the "Software Freedom at any cost!" line of thinking. GCJ was created to allow compilation and execution of Java code without depending on anything deemed...

View Article

Java JRE vs GCJ

I have this results from a speed test I wrote in Java:Javareal 0m20.626suser 0m20.257ssys 0m0.244sGCJreal 3m10.567suser 3m5.168ssys 0m0.676sSo, what is the purpose of GCJ then? With this results I'm...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images