JDK8: NaN JNI debug build
Jesper Wilhelmsson
jesper.wilhelmsson at oracle.com
Tue May 5 12:16:40 UTC 2020
Hi Darrell.
The current developer's guide do have a section called "Repositories" that explains how to get the source code from our current mercurial repositories: http://openjdk.java.net/guide/repositories.html
There is also a read-only copy of the JDK on Github: https://github.com/openjdk/jdk
How to build is covered by the docs that come with the source code: https://github.com/openjdk/jdk/blob/master/doc/building.md
/Jesper
> On 9 Jul 2019, at 17:37, Reich, Darrell <DARRELL.REICH at leidos.com> wrote:
>
> Is it possible to get the source code to java.exe runtime vm and recompile it with the “stop on NaN” floating point option? The default is NaN & Inf and try to continue which never ends well but hides where the initial error occurred.
>
> What currently happens is our Intel Fortran for Windows DLLs inherit the setting from the process exe--we spend a lot of time debugging during testing rather than having it tell us where it hurts (divide by zero, etc).
>
> The Intel Fortran discussion forum is like “Dear Abby” with frustrated maintenance programmers with “Ask Dr Fortran” the moderator black belt. This is one of the FAQs.
>
> Developer’s Guide seems to leave out the where is the source code repo and how to compile from source specifics? I assume there is a git or svn site somewhere?
> https://openjdk.java.net/guide/intro.html <https://openjdk.java.net/guide/intro.html>
>
> Rebuilding everything locally would be one way to do it—we’d be happy to let the build machine make a debug version of the JDK for testing JNI. Please add this suggestion to the list.
>
> Darrell
> San Diego, California, USA
> p.s. to make python run faster they recommend creating a library in Fortran and using f2py! To make gfortran faster, Intel has ported and optimized all the math libraries and claims to be 80% faster. Maybe the same can be done with the java codebase? Optimize the compiler to make the compiler and runtime work faster…
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/guide-discuss/attachments/20200505/8b90472f/attachment.htm>
More information about the guide-discuss
mailing list