Sign in with
Sign up | Sign in

Oracle, AMD Agree on GPU-Accelerated Java

By - Source: EETimes

In an announcement made at JavaOne, Oracle and AMD confirmed that the two companies have created an OpenJDK project with the goal to run the JVM on GPUs.

Phil Rogers, AMD Corporate Fellow and president of the Heterogenous System Architecture (HAS) described "Project Sumatra", which will be led initially by Oracle's John Coomes, and said that the technology will be designed to work on discrete GPUs as well as heterogeneous CPU/GPU designs, such as AMD's APUs.

Oracle disclosed that it will be using its HotSpot JVM and the libraries from Java 8's Lambda project, which was published last year as a way to support Java programming in multicore environments. If a GPU is available in a system, Java code will be converted to OpenCL code and then run on the GPU. In a statement released to the press, Georges Saab, vice president of software development for the Java Platform Group at Oracle said: "We expect our work with AMD and other OpenJDK participants in Project 'Sumatra' will eventually help provide Java developers with the ability to quickly leverage GPU acceleration for better performance."

Sumatra may become available with the release of Java 8 in 2013.

 

Contact Us for News Tips, Corrections and Feedback

There are 39 Comments. B
Top Comments
  • 19
    JamesSneed , October 8, 2012 5:40 AM
    My GPU does get thirsty when its not playing games.
  • 14
    joytech22 , October 8, 2012 5:21 AM
    HiiiI like the idea, and btw how much software is already running on java?

    Well there's an entire MMORPG made for it (Runescape, worlds largest Java application I think?)
    A lot of things use java outside of the computer realm, devices of all kinds.

    It was surprising to learn that even my car radio uses java.
  • 10
    Shin-san , October 8, 2012 6:36 AM
    HiiiI like the idea, and btw how much software is already running on java?

    Lots of Fortune 500 companies use it on their server-side.

    tobalazI hate Java, its a coding nightmare.But it is on everything, so this is a win right?
    Have you ever done J2EE? It's awful. Java itself isn't bad, even though the "automatic garbage collection" can lead to nightmares
Other Comments
  • 6
    luciferano , October 8, 2012 5:16 AM
    Java on GPUs... That could be incredible if Java was more secure.
  • 7
    Hiii , October 8, 2012 5:17 AM
    I like the idea, and btw how much software is already running on java?
  • 14
    joytech22 , October 8, 2012 5:21 AM
    HiiiI like the idea, and btw how much software is already running on java?

    Well there's an entire MMORPG made for it (Runescape, worlds largest Java application I think?)
    A lot of things use java outside of the computer realm, devices of all kinds.

    It was surprising to learn that even my car radio uses java.
  • 7
    MaXimus421 , October 8, 2012 5:39 AM
    Yup. Java is in nearly every electronic device in some form or another.
  • 19
    JamesSneed , October 8, 2012 5:40 AM
    My GPU does get thirsty when its not playing games.
  • 3
    phatboe , October 8, 2012 6:08 AM
    I welcome this as Java is everywhere but it runs slow a molasses. Hopefully the GPU can insert some tangible performance gains. My question though is I really don't understand how a GPU will make Java code any faster. The problem is that most code is serial by design, so I don't understand how using a highly parallel GPU will make Java code run any faster.
  • 9
    tobalaz , October 8, 2012 6:15 AM
    I hate Java, its a coding nightmare.
    But it is on everything, so this is a win right?
  • 10
    Shin-san , October 8, 2012 6:36 AM
    HiiiI like the idea, and btw how much software is already running on java?

    Lots of Fortune 500 companies use it on their server-side.

    tobalazI hate Java, its a coding nightmare.But it is on everything, so this is a win right?
    Have you ever done J2EE? It's awful. Java itself isn't bad, even though the "automatic garbage collection" can lead to nightmares
  • -3
    rocknrollz , October 8, 2012 7:17 AM
    Quote:
    I welcome this as Java is everywhere but it runs slow a molasses. Hopefully the GPU can insert some tangible performance gains. My question though is I really don't understand how a GPU will make Java code any faster. The problem is that most code is serial by design, so I don't understand how using a highly parallel GPU will make Java code run any faster.


    The GPU won't run Java, the Java will be turned into OpenCL and then run. And GPU's can of course run OpenCL very fast.
  • 3
    dudewitbow , October 8, 2012 7:28 AM
    luciferanoJava on GPUs... That could be incredible if Java was more secure.

    albeit java needs more security, the reason why coding in java still exists is because its similar to c++(a few keyword changes to change a c++ file into a java file) and the fact that java can be run on any operating system straight away once they have the main java engine installed.
  • 4
    A Bad Day , October 8, 2012 7:34 AM
    HiiiI like the idea, and btw how much software is already running on java?


    Try uninstalling Java from your web browser and see how far you get.
  • 2
    guerrero , October 8, 2012 8:02 AM
    Now I hope I can play Minecraft on Fancy and Far ;]
  • -5
    Camikazi , October 8, 2012 8:18 AM
    A Bad DayTry uninstalling Java from your web browser and see how far you get.

    I removed java months ago and haven't run into any problems with any site I visit or games I play and neither have any friends of mine.
  • 4
    tipoo , October 8, 2012 8:44 AM
    HiiiI like the idea, and btw how much software is already running on java?



    A lot. Java is huge, java developers are one of the few groups who are still being gobbled up as fast as they can be produced. You'd find it in surprising places, cars, gadgets, and of course lots of smartphone apps.
  • 2
    luciferano , October 8, 2012 8:52 AM
    CamikaziI removed java months ago and haven't run into any problems with any site I visit or games I play and neither have any friends of mine.


    The Java runtime environment isn't the Java that web sites use. Tom's uses Java or Javascript (IDK which) to log in, so you're still using some type of Java if you're able to talk to us on these forums. Try going into your browser settings and disabling Java or installing NoScript to disable it and then see what happens.
  • 3
    anonymous@guest , October 8, 2012 8:55 AM
    Sence java is converted into openCL then any GPU that supports OpenCL should benifit from this, that would include the Ivy bridge GPUs as well?
  • 2
    tipoo , October 8, 2012 9:10 AM
    OpenCLandGPUsSence java is converted into openCL then any GPU that supports OpenCL should benifit from this, that would include the Ivy bridge GPUs as well?


    I don't think Ivy Bridge actually runs OpenCL code ON the GPU, rather it runs it through the CPU.
  • 6
    A Bad Day , October 8, 2012 9:11 AM
    tipooA lot. Java is huge, java developers are one of the few groups who are still being gobbled up as fast as they can be produced. You'd find it in surprising places, cars, gadgets, and of course lots of smartphone apps.


    Java's OP strength is cross-platform compatibility. Write one Java program, run it on Windows, iOS, Linux, and etc without recompiling it.
  • 0
    luciferano , October 8, 2012 10:15 AM
    tipooI don't think Ivy Bridge actually runs OpenCL code ON the GPU, rather it runs it through the CPU.


    Didn't Tom's run tests with OpenCL on the HD 4000? I think that it can run OpenCL, although it might need beta drivers or something like that.
Display more comments