-
Enhancement
-
Resolution: Fixed
-
P4
-
13
-
b25
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8226075 | 14 | Erik Österlund | P4 | Resolved | Fixed | team |
The os::attempt_reserve_memory_at() function on BSD, linux and Solaris all try a bit too hard. They first try to mmap memory at a given address. If that failed, rather than giving up as expected, it tries in a loop to mmap random memory (without address hints), and looks if it can from random address ranges cut out the requested address range. We should just fail instead.
- backported by
-
JDK-8226075 os::attempt_reserve_memory_at() tries too hard
- Resolved
- relates to
-
JDK-8303562 Remove obsolete comments in os::pd_attempt_reserve_memory_at
- Resolved