Misconfiguration warning should check differently on server argument
I just updated the jdk from openJDK to Oracle JDK on my Ubuntu installation.
I also updated the spoofax version installed in my eclipse toSpoofax/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 myeclipse.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 isJava 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
Issue Log
-server
is an optimisation flag for HotSpot.Duplicate of https://yellowgrass.org/issue/Spoofax/641.
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