On 06/04/2020 18:36, Henry Jen wrote:
Here is the combined webrev[1] which I think is what we should have. By using 
__solaris__, we make sure no extra define from build and assuming that all 
solaris build will have gethrtime() and use that.

The current build only use that for static build launcher, not custom launcher 
use libjli.

Cheers,
Henry

[1] http://cr.openjdk.java.net/~henryjen/jdk/8241638.2/webrev/

I think it would be simpler to drop the macros and have function prototypes in java_md_sollinux.h. That would avoid preprocessor code in the header file. The implementation in java_md_sollinux.c would then be simple #ifdef __solaris ... #else ... Minor nit is that the #include <sys/time.h> should probably be moved up to the top with the other includes.

-Alan.

Reply via email to