How can I see where the sjavac_server is started?

Andrew Haley aph at redhat.com
Fri Mar 1 18:08:52 UTC 2019


On 2/27/19 3:51 PM, Erik Joelsson wrote:
> The server is started lazily by the first javac invocation that needs 
> it. There is a parameter given to javac that describes how it should be 
> started, but to get the exact command line, you would have to instrument 
> javac java source. You should be able to add additional parameters to 
> that JVM, at least by editing spec.gmk, that could help you with 
> diagnostics.

Aha! Yowza, that's obscure. :-)

Thanks everyone for your help. I did discover startserver by stracing, just as you
suggested.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the build-dev mailing list