Entry posted to my new blog.
on Nov 9, 2009
Let me introduce a new language named pseudo (Why this name ?
Why another language ? Why God ? all these questions will be answered
in a later blog).
One great feature of this language is that it allows
i.e. you can assign a type to a parameter, a local variable, etc.
If a variable as no type, the compiler consider it as any.
You can assign any value...
on Nov 1, 2009
During the JVM Summit, I was doing some tests for
my presentation with the latest
when I've seen some *BIG* performance improvement between jdk7 b71 and jdk7 b72.
A quick look to the summary of changes, hum,
Escape Analysis is now enabled by default.
On my tests, I got a 3x improvement, Wow !
With a quick micro-benchmark, it's even better, as always :)
on Oct 6, 2009
Yesterday, a Hudson committer Alan Harder discovered an EOFException in Hudson, which only happens on 64bit JVM on Solaris. This was happening in the part of Hudson (or more precisely, in a separate library called Akuma) where we look at the memory space of the process to figure out the command line arguments of the current process (the /proc/ID/as file — an equivalent of /proc/ID/mem in...
on Sep 17, 2009
Joe Darcy has revealed the changes accepted to be included in JDK7 on coin-dev mailing list
And the final Project Coin changes accepted are:
Improved Type Inference for Generic Instance Creation (diamond)
Simplified Varargs Method Invocation
Strings in switch
An omnibus proposal for better integral literals
on Aug 29, 2009
Maurizio Cimadamore has just push a patch that enable to use diamond syntax to instantiate a generics.
The diamond syntax is one of the changes introduced by the
coin project and
is the first one introduced in jdk7 repository.
The diamond syntax allows to instantiate a generic type without specify the
type argument, the compiler will infer them using the context.
on Aug 27, 2009
Two months ago, I was discussing with a friend about
dynamic languages and JSR 292 when he mentions
DLR Expression Trees.
At that time, I had a vague memory,
mostly because I was under the effect of a
persisting jet lag, when I attend the talk of Mads Torgersen
about it at last year JVM Summit.
By the way, I will attend the next
JVM Summit in September,
I have some good...
on Jul 31, 2009
I've just released the first version 1.0.1
(1.0 is compiled for 1.6 only) of the
So you can now test invokedynamic and method handle invocations
without using the latest patch queue from mlvm repository
and some wizard's black magic.
The primary usage of the backport is for dynamic language runtime
developers (JRuby, Jython, Groovy, etc),
they can now use...
on Jul 1, 2009
Here is the text of the message I recently sent to the JSR 255
Expert Group, in my capacity as Specification Lead.
I'm sure that you saw some months ago that our work on JSR 255
will not be part of the JDK 7 release
decision was made here at Sun in order that some of the higher
on Jun 16, 2009
Great news, ASM 3.2 is released (Extended changelog).
This new version includes the support of the new bytecode instruction : invokedynamic, introduced by JSR292.
ASM supports of invokedynamic
From ASM point of view, invokedynamic is a method call instruction emittable/trappable by calling/overriding visitInsnMethod of a MethodVisitor like any other invoke* bytecode...
on Jun 11, 2009
Roman and Mario made a tremendous work on cacio bits in last few days. I personally love that final image with Duke riding the horse. :)
Here are the slides for the talk.
Thanks everyone for joining us that evening!
on Jun 8, 2009
I'm drawing on several threads of thinking in several presentations and conversations this week at JavaOne, and am thinking the Java Community Process (JCP) no longer serves the needs of the Java ecosystem. I'm not the first to say this, not the last, but here's a few thoughts anyway.
Sun (soon Oracle) is the owner and for the process to work out well the owner has to be enlightened enough to...
on Jun 4, 2009
The JavaOne opening keynote is still a fancy rock & roll show with fancy stage and the like. It's always exciting to see what they have to say, and they do a good job of spinning a story that Java is Everywhere.
The overall message is to convince developers that the Java platform is compelling, that Sun is providing this compelling ecosystem for developing applications, and that the...
on Jun 2, 2009
Just a reminder to those of you a) attending JavaOne, b) interested in porting OpenJDK to other platforms, we have a BOF on thursday night. Please attend. The agenda is to simply bring the right people into the room and chat. Please attend.
on Jun 2, 2009
I am attending JavaOne and will be posting a series of blog's about each session I attend.
on Jun 2, 2009
You update your JDK frequently to get the latest and greatest...but did you know about VisualVM. It may be one of the best kept secrets in the JDK. But now you know too!
The VisualVM application gives you visual insight into your application's use of resources: heap, threads, memory, CPU usage, and more. This is a profiling tool that you might consider paying for, but you won't -- it's free, and...
on May 28, 2009
With synergetic effort with Roman and Mario we've achieved the stage when the evaluation of the OpenJDK Challenge Award winner became possible. Recently I tried the TCK suite against the Caciocavallo binaries on Linux with that x11 back-end.
And there are some results. :) Want to learn more?
Join us on the BOF-4743 !
on May 22, 2009
The UTF-8 encoding is easy to abuse in some ways. Or rather, sometimes people use it in unexpected ways.
Recently the Java platform received an update to reject one malformed UTF-8 encoding sequence called non-shortest form. You can learn more about this fix and its implications for you in the article Overhauling the Java UTF-8 Charset.
on May 21, 2009
It seems that lot of people don't notice that
there is a roadmap for jdk7.
on May 4, 2009
So, hmm, Oracle+Sun. Interesting twist from the IBM+Sun matchup earlier. There has been numerous rumors over the years about SUN+xyzzy mergers such as Fujitsu, IBM, SGI, Apple, etc. And it's finally come to Oracle. It seems there's a lot of scratching of heads over what this will mean for the open source software projects run by Sun, and of course the back of my mind has been pondering the...
on Apr 26, 2009