I just updated the jdk from openJDK to Oracle JDK on my Ubuntu installation.
I also updated the spoofax version installed in my eclipse to Spoofax/IMP 1.1.0.0-r25945

Now I get this warning from Spoofax:

Spoofax needs Eclipse to be started with (can be set in eclipse.ini): -vmargs -server -Xmx1024m -Xss8m

The following options are currently missing:
-server

The -server argument is part of my eclipse.ini, preceded by -vmargs.

When I look at the source code (HEAD Trunk) that’s checking the options, it seems to check the JVM Arguments for the -server argument.

However, when I inspect the running Eclipse instance with jvisualvm, I don’t see -server as part of the JVM Arguments, although the JVM that runs is Java HotSpot(TM) 64-Bit Server VM (23.7-b01, mixed mode).

So the -server argument seems to work correctly, or do I misunderstand what this parameter should do?

Possibly related: #641 Warning about misconfiguration is order-sensitive

Submitted by Elmer van Chastelet on 20 February 2013 at 16:22

On 20 February 2013 at 16:22 Elmer van Chastelet commented:

On 20 February 2013 at 17:50 Vlad Vergu commented:

-server is an optimisation flag for HotSpot.

Duplicate of https://yellowgrass.org/issue/Spoofax/641.


On 20 February 2013 at 17:51 Vlad Vergu tagged duplicate

On 20 February 2013 at 17:51 Vlad Vergu commented:

On 20 February 2013 at 17:51 Vlad Vergu closed this issue.

On 21 February 2013 at 10:07 Elmer van Chastelet commented:

I don’t think it’s the same issue, at least not caused by checking arguments order sensitive (as the title of the suggested duplicate says). The -server argument is discarded in my case and doesn’t appear as jvm argument when I inspect jvisualvm.

Log in to post comments