Debugging/Profing javac

Vicente Romero vicente.romero at oracle.com
Tue Dec 4 00:31:37 UTC 2018


Hi Enrico,

On 12/3/18 4:58 PM, Enrico Olivelli wrote:
> Hi,
> I have a java application made of about 2000 classes, and javac take a 
> very long time to compile the module, like more than one minute (on 
> workstations which usually are able to compile similar projects faster).
>
> This is very strage and I guess there is some .java file which is 
> making javac work more than what is needed.
> Is there any 'profile' or 'debug' mode which prints the processing 
> time for each file or group of files/classes ?

you will need to use an external profiler, is the code accessible in any 
way? is javac the only one to blame, I mean are you using maven or 
similar to build?

>
> Best regards
> Enrico Olivelli
> -- 
>
>
> -- Enrico Olivelli
>
Thanks,
Vicente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20181203/ba52c1b2/attachment.html>


More information about the compiler-dev mailing list