mercredi 3 novembre 2010

La société Proxiad à publié la vidéo de la présentation que j'ai effectuée lors de la session du 20 octobre dernier.

Le Chti JUG : http://chtijug.org/
L'annonce : http://chtijug.org/jboss-5-mod_cluster-lille-20-10-2010-18h30/
La video : http://vimeo.com/16270213

JBoss 5 cloud from ProxiAD Videos on Vimeo.

mardi 5 octobre 2010

eclipse : identify current workspace

I'm regulary switching between 15 eclipse workspaces. i just found about about the "-showLocation" startup switch, which is useful to show in the titlebar which workspace i am currently in.

That's all folks.

mercredi 26 mai 2010

The best ever : Fedora 13 "Goddard" !


Simplement indispensable, encore une fois, de vous annoncer la sortie de la dernière mouture du Projet Fedora. Celle-ci se prénomme "Goddard" et est sans aucun doute la meilleure version de cette distribution toujours aussi avangardiste en terme de technologies Open-Source.

Plus de temps à perdre : Get fedora 13 !

vendredi 2 avril 2010

Thanks God ...


TG Yourkit Exists!

Thanks to the "Classloaders" view in Yourkit, I was able to investigate & fix Perm Gen OutOfMemory. (http://yourkit.com/docs/kb/class_loaders.jsp)

There's others tools, but try this one, you're going to be on crack

Go go go ... buy it!

mardi 2 mars 2010

OpenID

It's not hot news but I think it's useful info.

OpenID provides you with an identity you can then re-use on several internet site. OpenIDFrance is the french site to achieve the same goal.

You can then use this identity by providing the URL that OpenId gave you when you register to the site you are visiting. The first time your login/password will be asked.

Thus, you can manage your information centrally and automatically fill forms with it.

Cherry on the cake. If you have a google account or others (see here) you already have an openID account.

vendredi 26 février 2010

Get a complete list of all possible JVM options

To get a reliable list of all config options for a given Sun JVM, look directly into the compiled code. For example :

$ strings $JAVA_HOME/jre/lib/amd64/server/libjvm.so | grep -B646 assert_null$ | grep -v '{' | grep -v '&' | grep -v '/' | grep -v '%' | grep -v assert_null

(on one line)
Do you know all 646 options ?

EDIT : it is also possible to get the default value and computed value for each option using the jinfo tool shipped with the JDK. First the need the id of the vm from which you want the options. it is easy, just run jps and choose the appropriate id (we'll call id $LVMID)

It looks like a few options are available but not extracted from libjvm.so, but can be found in deploy.jar :

MaxDirectMemorySize
MaxHeapFreeRatio
MaxInlineSize
MinHeapFreeRatio
NewSize
PermSize
ThreadStackSize
CompileThreshold

You can add these well known options to the list above for the next part :

Using the list we got above (let's say we've redirected the list to a file named 6_0_18_complete_options_list , it is then possible to print the (almost) complete list of the options with their default, computed, or overriden value using :



$ for i in `cat 6_0_18_complete_options_list` ; do jinfo -flag ${i} $LVMID | tee -a /tmp/default_computed_vm_options ; done ;

All the values will be written to default_computed_vm_options, with the numeric value , or a + / - in front of the option if it's a boolean. very instructive way to find out the defaults for your specific platform


Lots of interesting stuff in there for JVM geeks :)
I hope you're not lactose intolerant because what you will find is legen....da(i)ry