Skip to content
Permalink
Browse files
8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Removed deprecation warning suppression, fixed uses of deprecated functions.

Reviewed-by: phh
Backport-of: cd95f5a
  • Loading branch information
Vladimir Kempik committed Jun 4, 2021
1 parent 006979a commit 5c35022bacc55400ba27ca2e49a803c2326c195d
Showing 2 changed files with 2 additions and 12 deletions.
@@ -3297,16 +3297,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

1 comment on commit 5c35022

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 5c35022 Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.