Skip to content

Commit 5c35022

Browse files
author
Vladimir Kempik
committed
8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Removed deprecation warning suppression, fixed uses of deprecated functions. Reviewed-by: phh Backport-of: cd95f5a
1 parent 006979a commit 5c35022

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/hotspot/os/bsd/os_bsd.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3297,16 +3297,6 @@ void os::init(void) {
32973297
Bsd::clock_init();
32983298
initial_time_count = javaTimeNanos();
32993299

3300-
#ifdef __APPLE__
3301-
// XXXDARWIN
3302-
// Work around the unaligned VM callbacks in hotspot's
3303-
// sharedRuntime. The callbacks don't use SSE2 instructions, and work on
3304-
// Linux, Solaris, and FreeBSD. On Mac OS X, dyld (rightly so) enforces
3305-
// alignment when doing symbol lookup. To work around this, we force early
3306-
// binding of all symbols now, thus binding when alignment is known-good.
3307-
_dyld_bind_fully_image_containing_address((const void *) &os::init);
3308-
#endif
3309-
33103300
os::Posix::init();
33113301
}
33123302

src/hotspot/share/utilities/globalDefinitions_gcc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ inline int g_isnan(double f) { return isnan(f); }
218218

219219
// Checking for finiteness
220220

221-
inline int g_isfinite(jfloat f) { return finite(f); }
222-
inline int g_isfinite(jdouble f) { return finite(f); }
221+
inline int g_isfinite(jfloat f) { return isfinite(f); }
222+
inline int g_isfinite(jdouble f) { return isfinite(f); }
223223

224224

225225
// Wide characters

0 commit comments

Comments
 (0)