Java Virtal Machine.net

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

August/2019
SunMonTueWedThuFriSat
    123
45678910
11121314151617
1819202122 2324
25262728293031
       

[ Archives News
for 'Java Technology' ]

home > news > java technology > tiered compilation

Tiered compilation

Yesterday, an interresting patch was pushed into the hotspot compiler (JITs) workspace, with this summary "Infrastructure for tiered compilation support", exciting isn't it. Tiered compilation in hotspot is an old dream. Hotspot has two JITs named c1 aka client JIT and c2 aka server JIT. The client JIT starts fast but provides less optimizations so it is used for GUI application. The server JIT starts more slowly but provide very good optimizations. The idea of tiered compilation is to get the best of both compilers, first JITs the code with c1 and then if the code is really hot to recompile it with c2. As I said, tiered compilation in hotspot is an old dream, the flag -XX:+TieredCompilation exists since 2006 but the performance was not great. I quickly compile a new VM with the new tiered architecture and use it to run eclipse. Wow, it's impressive, eclipse is snappy, at least a lot of snappier than with the server compiler, the compilation time of some projects of mine is clearly faster. Oh, and it crashes only once :) Then I decide to run the DaCapo Jython benchmark. Here are the result: As you can see, performance of tiered compilation is much better than the client JIT performance. cheers, Rémi AttachmentSize tiered.png14.96 KB


Date: September, 05 2010
Url: http://www.java.net/blog/forax/archive/2010/09/04/tiered-compilation


Others News

©2002-2019Java-Virtual-Machine.net website design software | mobiriseextensions.com | easy website builder | bootstrap popup window | free bootstrap template