8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Removed deprecation warning suppression, fixed uses of deprecated functions. Reviewed-by: dholmes, mikael
This commit is contained in:
parent
432605be5c
commit
cd95f5a933
@ -92,7 +92,7 @@ ifeq ($(call check-jvm-feature, zero), true)
|
||||
DISABLED_WARNINGS_gcc += return-type switch
|
||||
endif
|
||||
|
||||
DISABLED_WARNINGS_clang := tautological-compare deprecated-declarations \
|
||||
DISABLED_WARNINGS_clang := tautological-compare \
|
||||
undefined-var-template sometimes-uninitialized unknown-pragmas \
|
||||
delete-non-virtual-dtor missing-braces char-subscripts \
|
||||
ignored-qualifiers missing-field-initializers mismatched-tags
|
||||
|
@ -3238,16 +3238,6 @@ void os::init(void) {
|
||||
Bsd::clock_init();
|
||||
initial_time_count = javaTimeNanos();
|
||||
|
||||
#ifdef __APPLE__
|
||||
// XXXDARWIN
|
||||
// Work around the unaligned VM callbacks in hotspot's
|
||||
// sharedRuntime. The callbacks don't use SSE2 instructions, and work on
|
||||
// Linux, Solaris, and FreeBSD. On Mac OS X, dyld (rightly so) enforces
|
||||
// alignment when doing symbol lookup. To work around this, we force early
|
||||
// binding of all symbols now, thus binding when alignment is known-good.
|
||||
_dyld_bind_fully_image_containing_address((const void *) &os::init);
|
||||
#endif
|
||||
|
||||
os::Posix::init();
|
||||
}
|
||||
|
||||
|
@ -218,8 +218,8 @@ inline int g_isnan(double f) { return isnan(f); }
|
||||
|
||||
// Checking for finiteness
|
||||
|
||||
inline int g_isfinite(jfloat f) { return finite(f); }
|
||||
inline int g_isfinite(jdouble f) { return finite(f); }
|
||||
inline int g_isfinite(jfloat f) { return isfinite(f); }
|
||||
inline int g_isfinite(jdouble f) { return isfinite(f); }
|
||||
|
||||
|
||||
// Wide characters
|
||||
|
Loading…
Reference in New Issue
Block a user