mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
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
3 changed files with 3 additions and 13 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue