gnodet commented on issue #576: URL: https://github.com/apache/maven-mvnd/issues/576#issuecomment-1009676835
> What are some examples of options that would allow reusing a daemon? I can see that treating `-Xmx` as a minimum would allow reuse (the existing daemon has a larger max heap), but in general, it seems that reuse should not be allowed. > > Is having different JVM options a common use case where we would want to try to reuse the daemon? Not really. The problem is more to identify which command line options that are discriminating, but I think all JVM options are, but we don't have any simply way to list them all really. That's why `mvnd.jvmArgs` is discriminating, as it's name indicates you should give JVM options, while `MAVEN_OPTS` can contain system properties or other non discriminating properties. That said, `.mvn/jvm.config` is supposed to contain JVM options, so it should really be discriminating. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
