[gatein-dev] gatein and setting -Xshare:auto

Julien Viet julien at julienviet.com
Thu Mar 4 18:33:18 EST 2010


it can be removed.

On Mar 5, 2010, at 12:20 AM, Matthew Wringe wrote:

> On Wed, 2010-03-03 at 18:00 +0100, Julien Viet wrote:
>> can you try to find out who has changed that according to file  
>> history ?
>
> I think it goes back to the exo portal code. Its a pain to find the
> original committed due to the multiple svn repos that were used during
> the merging. Its also set in a bunch of other eXo projects.
>
> It should be the default on the Sun JDK, I just don't know why we have
> it specifically set.
>
> I have not run into any problems when I remove this setting on my own
> machine, and this prevents the server from starting with the IBM jdk
> (since a Sun jdk only setting).
>
> If we want GateIn to run on Sun and IBM jdks then we need to either
> remove this value, or setup separate builds per jvm.
>
>> On Mar 3, 2010, at 5:13 PM, Matthew Wringe wrote:
>>
>>> Current in GateIn we are setting -Xshare:auto as part of the jvm
>>> parameters. According to the Sun documentation, auto is the default
>>> setting and this option is only available with Sun JDK.
>>> (http://java.sun.com/javase/6/docs/technotes/guides/vm/class-data-sharing.html
>>> ).
>>>
>>> When we try and run GateIn on the IBM jdk, it fails complaining that
>>> it
>>> doesn't know about the Xshare option.
>>>
>>> Is there a reason why we are setting this? Or can be safely remove
>>> it so
>>> that gatein can work with other jvms out of the box.
>>>
>>>
>>> _______________________________________________
>>> gatein-dev mailing list
>>> gatein-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/gatein-dev
>>
>
>



More information about the gatein-dev mailing list