Changeset 297


Ignore:
Timestamp:
Jun 16, 2011, 12:27:03 PM (9 years ago)
Author:
dmik
Message:

hotspot: Applied a temporary workaround to avoid frequent crashes on SMP machines by forcing the -X:+UseMembar? option to all JVM invocations. See #96 and #118 for more info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp

    r296 r297  
    34253425  }
    34263426  main_thread_id = (int) GetCurrentThreadId();
     3427
     3428#ifdef __WIN32OS2__
     3429  // The mprotect-based memory barrier technique seems be very unstable under
     3430  // the SMP kernel on OS/2 for some reason. This needs more investigation and
     3431  // hence we force the old mode using the fence instructions for the time
     3432  // being. See #118 for more details.
     3433  UseMembar = true;
     3434#endif
    34273435}
    34283436
Note: See TracChangeset for help on using the changeset viewer.