Debug builds

cowwoc cowwoc at bbs.darktech.org
Mon Oct 7 17:45:12 UTC 2013


On 07/10/2013 1:35 PM, Steven Schlansker wrote:
> On Oct 7, 2013, at 8:30 AM, cowwoc <cowwoc at bbs.darktech.org> wrote:
>
>> Hi,
>>
>>     Where did the old debug builds of rt.jar go (meaning, rt.jar with full debug symbols, even for local variables)? I scanned the mailing list for a related discussion but couldn't find anything. It looks like somewhere down the line a decision was made to remove these builds, but it's not clear why that was. Also, out of curiosity, what is the overhead of the full debug symbols (versus what we ship now)? Couldn't we ship a full-debug rt.jar with the JDK and ship the smaller rt.jar with the JRE?
> +1 on shipping debug builds with the JDK, that would be very helpful for those of us who are stupid^Wcurious enough to step-debug into JDK classes.

     I have personally wasted countless days/weeks/months debugging 
problems that would have been solved much quicker by having full debug 
symbols. Furthermore, as you can see at 
http://mail.openjdk.java.net/pipermail/build-dev/2012-October/006892.html the 
GNU/Linux world also ships with full debug symbols by default.

     I'd like to take this opportunity to follow-up on 
http://mail.openjdk.java.net/pipermail/build-dev/2012-October/006881.html. 
I am confused because this post seems to be saying that Oracle JDK 7 
ships full debug symbols, but in my experience this is not the case. It 
would be good to get some answers from someone in the know.

Thanks,
Gili



More information about the core-libs-dev mailing list