| By Hari Gottipati | Article Rating: |
|
| February 22, 2012 10:04 AM EST | Reads: |
9,138 |
Graal is a compiler in Java that will work with Hotspot VM and Maxim VM. Currently the team (Oracle labs VM research team) is focused on integrating it into Hotspot VM and the effort is known as Graals VM. It's a new project to explore implementing a dynamic compiler in Java that can be used in a native JVM such as HotSpot as well as in a meta-circular JVM such as Maxine VM.
The Graal compiler allows Java libraries to extend their functionality to support customizations. For example, it enables custom optimization phases that we cannot achieve with the traditional Java compilers. It provides a Java API to control the compiler phases and it even allows us to introduce new phases, thus it opens the door for efficient implementations of new languages.

In addition, the Graal compiler is a bytecode-agnostic compiler. With Compiler Runtime Interface (CRI), the Graal compiler can work in different VMs written in multiple languages. It can work in Maxine VM as Maxine permits alternate implementations of subsystems such as compilation and GC, whereas Hotspot VM needs an adapter to permit the alternate compilation to be plugged-in.
Graal JVM is going to be a meta-circular JVM, meaning it will be implemented in Java and Java code runs on itself without requiring an additional virtual machine.
Traditionally JVMs are written in C or C++. Java implementation enables seamless integration between a virtual machine and application resources such as objects and threads.Think about coding in Java, compiling it using a compiler written in Java, and running it in a JVM, which is again written in Java- it's Java all the way and imagine the seamless integration between an application and a VM.
Published February 22, 2012 Reads 9,138
Copyright © 2012 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Hari Gottipati
Hari K Gottipati is a software professional, consultant, speaker and freelance writer who specializes in Java, mobile computing, cloud computing, virtualization and Ajax. Proven Java enterprise lead, competitive analyst, technical architect and loves coding. Expert in analyzing market landscape for startup ideas and molding them into successful products with the technical/competitive advantage. Regularly writes for Syscon media, O'Reilly publications and his quotes can be often found in various technology news/magazines. Well known blogger and his blogs can be found at sys-con.com, onjava.com and xml.com. Speaks at various events on latest technologies including Mobile, Cloud computing, Ajax, Web 2.0, Web OS and of course Java. Hari serves on technical advisory board for various small to medium size companies where he provides technical vision for the future. Worked for many wireless startups, as well as big companies including Yahoo, Travelocity, and Motorola. Passionate about technologies and spends most of his time exploring bleeding edge software technologies.
- Cloud People: A Who's Who of Cloud Computing
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- Cloudant to Exhibit at Cloud Expo & Big Data Expo New York
- The Accessibility of the Cloud
- Learn How To Use Google Apps Script
- Cloud Expo NY: Best Practices for Delivering Oracle Database as a Service
- Cloud Expo New York: Basics of SSD Technology and Its Use in Cloud
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo New York: The Big Challenge of Big Data & Hadoop Integration
- Measuring the Business Value of Cloud Computing
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York: Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York: How to Use Google Apps Script
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- Cloud Expo New York: Why Big Data Is Really About Small Data
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- Small Cancers, Big Data, and a Life Examined
- Cloud Expo New York: Requirements of a Cloud Database
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- Cloudant to Exhibit at Cloud Expo & Big Data Expo New York
- The Accessibility of the Cloud
- Learn How To Use Google Apps Script
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- Where Are RIA Technologies Headed in 2008?





















