mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
This commit is contained in:
parent
5cfc3bbdd4
commit
a3cd6a1a70
52 changed files with 465 additions and 774 deletions
|
@ -267,8 +267,7 @@ pid_t os::Linux::gettid() {
|
|||
|
||||
// Most versions of linux have a bug where the number of processors are
|
||||
// determined by looking at the /proc file system. In a chroot environment,
|
||||
// the system call returns 1. This causes the VM to act as if it is
|
||||
// a single processor and elide locking (see is_MP() call).
|
||||
// the system call returns 1.
|
||||
static bool unsafe_chroot_detected = false;
|
||||
static const char *unstable_chroot_error = "/proc file system not found.\n"
|
||||
"Java may be unstable running multithreaded in a chroot "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue