History log of /openjdk9/hotspot/src/os/bsd/vm/os_bsd.cpp
Revision Date Author Comments
# 11979:e7203436d63d 09-Sep-2016 rdurbin

8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
Summary: Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.
Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph


# 11869:03762a0cf7e1 23-Aug-2016 ctornqvi

8163146: Remove os::check_heap on Windows
Reviewed-by: gtriantafill, coleenp, stuefe


# 11857:d0fbf661cc16 21-Aug-2016 dholmes

8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Summary: Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis


# 11811:133339642ba1 11-Aug-2016 dholmes

8159461: bigapps/Kitchensink/stressExitCode hits assert: Must be VMThread or JavaThread
Reviewed-by: fparain, simonis, dcubed


# 11658:8a5735c11a84 12-Jul-2016 goetz

8161258: Simplify including platform files.
Summary: Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett


# 11486:3950d1713ffa 13-Jun-2016 goetz

8159335: Fix problems with stack overflow handling.
Reviewed-by: dlong, coleenp, mdoerr


# 11236:aa11081b8307 10-May-2016 dholmes

8154715: Missing destructor and/or TLS clearing calls for terminating threads
Summary: clear TLS on return from thread->run() unless already done. Prohibit asynchronous thread deletion.
Reviewed-by: stefank, sspitsyn
Contributed-by: Brian Gardner <openjdk@getsnappy.com>


# 10870:5bc83f454d50 10-Apr-2016 mlarsson

8146879: Add option for handling existing log files in UL
Reviewed-by: dsamersoff, gziemski, rehn


# 10835:a6b1b83401c7 07-Apr-2016 coleenp

8151939: VM_Version_init() print buffer is too small
Summary: Increase buffer size, use logging to print out version and os information
Reviewed-by: kvn, rprotacio, mockner


# 10627:1537c752a7f5 12-Mar-2016 stuefe

8148425: strerror() function is not thread-safe
Reviewed-by: dholmes, coleenp


# 10391:f146301c971f 29-Feb-2016 stuefe

8150619: Improve thread based logging introduced with 8149036
Reviewed-by: coleenp, dholmes


# 10367:1c53edac6621 24-Feb-2016 stuefe

8149036: Add tracing for thread related events at os level
Reviewed-by: coleenp, mlarsson, dholmes


# 10249:e6a78fdf8cff 10-Feb-2016 dholmes

8145725: Remove the WorkAroundNPTLTimedWaitHang workaround
Reviewed-by: ddmitriev, stuefe, dcubed


# 9986:5660ec824db3 19-Jan-2016 fparain

8146751: jdk/test/tools/launcher/TooSmallStackSize.java failed on Mac OS
Reviewed-by: dholmes, gtriantafill


# 9867:3125c4a60cc9 20-Dec-2015 goetz

8139864: Improve handling of stack protection zones.
Reviewed-by: stuefe, coleenp, fparain


# 9842:4055f3ec41cd 09-Dec-2015 stuefe

8144219: [posix] Remove redundant code around os::print_siginfo()
Summary: for posix platforms, consolidate os::print_siginfo() in os_posix.cpp and remove cds fault special handling
Reviewed-by: dholmes, simonis


# 9743:d6c6ee9d40b0 14-Dec-2015 stuefe

8145114: const-correctness for ucontext_t* reading functions
Reviewed-by: dholmes, coleenp


# 9737:e286c9ccd58d 11-Dec-2015 fparain

8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed


# 9685:15ce8135ef98 08-Dec-2015 mikael

8144881: Various fixes to linux/sparc
Summary: Fixed sigflags printing, format specfiers, codeCache includes and some function returns
Reviewed-by: dsamersoff, simonis


# 9651:f7dc8eebc3f5 04-Dec-2015 dholmes

8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Summary: Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)
Reviewed-by: stuefe, bdelsart, dcubed


# 9639:f0dcbc6e99b1 01-Dec-2015 stuefe

8143291: Remove redundant coding around os::exception_name
Reviewed-by: dholmes, coleenp


# 9593:ca793dd85e06 25-Nov-2015 sebastian

8136978: Much nearly duplicated code for vmError support
Summary: moved all non os specific code in vmError_[os].cpp to vmError_posix.cpp, moved os specific code to os_[os].cpp and refactored all other references accordingly
Reviewed-by: stuefe, coleenp, dholmes


# 9433:149cc1f9f1aa 05-Nov-2015 goetz

8141529: Fix handling of _JAVA_SR_SIGNUM
Reviewed-by: dholmes, stuefe, dsamersoff


# 9302:6e76f1f75b89 29-Oct-2015 dholmes

8129526: Solaris: clean up another remnant of interruptible I/O
Reviewed-by: fparain, dcubed


# 9249:f8ad4efb6be8 23-Oct-2015 coleenp

Merge


# 9248:6ab7e19c9220 23-Oct-2015 coleenp

8140274: methodHandles and constantPoolHandles should be passed as const references
Summary: modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti


# 9240:aa0f8afe2943 21-Oct-2015 bobv

Merge


# 9238:f108f239ffcf 19-Oct-2015 bobv

8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti


# 9099:115188e14c15 09-Oct-2015 david

8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso


# 9056:dc9930a04ab0 29-Sep-2015 david

8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden


# 8793:913d50d94180 03-Aug-2015 dholmes

8080298: Clean up os::...::supports_variable_stack_size()
Reviewed-by: kbarrett, simonis, stuefe, coleenp


# 8746:7f39700be72a 21-Jul-2015 coleenp

8026324: hs_err improvement: Add summary section to hs_err file
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered
Summary: Added command line, summary cpu and os information to summary section. Moved time of crash and duration in summary section. Add GC strategy and compiler setting (tiered) to enhanced version string in error report. Moved the stack trace sooner in hs_err file.
Reviewed-by: dholmes, ctornqvi, ddmitriev


# 8656:289a2d2a8f97 19-Jan-2015 stefank

8087322: Implement a Semaphore utility class
Reviewed-by: kbarrett, dholmes


# 8575:5916110131c4 22-Jun-2015 stuefe

8078513: [linux] Clean up code relevant to LinuxThreads implementation
Reviewed-by: dholmes, sla, coleenp, simonis


# 8555:c30414cbbd88 17-Jun-2015 coleenp

Merge


# 8554:d89dc667352b 17-Jun-2015 coleenp

8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
Summary: summarize information from linux-x86; it's too long and redundant
Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed


# 8550:b8a3be10a4ed 16-Jun-2015 bdelsart

8079473: allow demangling to be optional in dll_address_to_function_name
Summary: add a demangling boolean argument to dll_address_to_function_name and decode
Reviewed-by: dholmes, simonis


# 8473:0d3c3c622f96 01-Jun-2015 ctornqvi

8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
Reviewed-by: sla, dholmes, gtriantafill


# 8237:793493726a06 20-Apr-2015 dholmes

8077674: BSD build failures due to undefined macros
Reviewed-by: dsamersoff, kbarrett, hseigel


# 8225:eb02bcd73927 15-Apr-2015 minqi

8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
Summary: Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com
Reviewed-by: dcubed
Contributed-by: yumin.qi@oracle.com, thomas.stuefe@gmail.com


# 8110:f5dbba218597 30-Mar-2015 jmanson

8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp


# 7765:fca33371ff0b 28-Jan-2015 dfuchs

8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Summary: Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.
Reviewed-by: dholmes, rriggs, scolebourne, sla


# 7560:30ed7423ae23 14-Dec-2014 dholmes

8059586: hs_err report should treat redirected core pattern
Reviewed-by: dholmes, sla, stuefe
Contributed-by: Yasumasa Suenaga <yasuenag@gmail.com>


# 7508:e2457e3f8c0e 05-Dec-2014 amurillo

Merge


# 7462:a0dd995271c4 30-Nov-2014 coleenp

8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Summary: Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
Contributed-by: max.ockner@oracle.com


# 7344:1d29b13e8a51 03-Dec-2014 chegar

8049367: Modular Run-Time Images
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, bradford.wetmore@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, james.laskey@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com, sundararajan.athijegannathan@oracle.com


# 7334:24d57d9d65af 05-Nov-2014 jiangli

Merge


# 7333:351115afe32b 05-Nov-2014 cjplummer

8043770: File leak in MemNotifyThread::start() in hotspot.src.os.linux.vm.os_linux.cpp
Summary: Fixed by removing all code related to LowMemoryProtection, which removed offending code.
Reviewed-by: dholmes, minqi


# 7331:110ec5963eb1 29-Oct-2014 goetz

8062370: Various minor code improvements
Summary: A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes


# 7318:1b0fa0b42e68 29-Oct-2014 dcubed

8061552: Contended Locking speedup PlatformEvent unpark bucket
Summary: JEP-143/JDK-8046133 - optimization #2 - speedup PlatformEvent unpark bucket.
Reviewed-by: acorn, dice, dholmes
Contributed-by: dave.dice@oracle.com, karen.kinnear@oracle.com, daniel.daugherty@oracle.com


# 7260:9ccb94e5c153 22-Oct-2014 fparain

8061618: Removed unused networking functions from os class
Reviewed-by: lfoltan, hseigel, dholmes


# 7228:def3ccd92f1d 09-Oct-2014 fparain

8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman


# 7108:74e33aa4681a 18-Sep-2014 jwilhelm

Merge


# 7071:44ede98c4920 18-Sep-2014 jwilhelm

Merge


# 7065:3c820b8715c4 15-Sep-2014 jwilhelm

Merge


# 7060:32b18c8f19fa 26-Aug-2014 mgerdin

8056039: Hotspot does not compile with clang 3.4 on Linux
Reviewed-by: brutisso, sla


# 7052:0990a645d215 10-Sep-2014 dcubed

Merge


# 7051:0420e825bb3c 10-Sep-2014 dcubed

8057109: manual cleanup of white space issues prior to Contended Locking reorder and cache line bucket
Reviewed-by: fparain, sspitsyn, coleenp


# 7050:03835eaaab2d 10-Sep-2014 dcubed

8057107: cleanup indent white space issues prior to Contended Locking reorder and cache line bucket
Reviewed-by: fparain, sspitsyn, coleenp


# 7011:20c8773305b1 03-Sep-2014 sla

8056242: Add function to return structured information about loaded libraries.
Summary: Return structured information about loaded libraries.
Reviewed-by: sla, dsamersoff
Contributed-by: fredrik.arvidsson@oracle.com


# 6972:fe13911efa5b 28-Aug-2014 sla

8055755: Information about loaded dynamic libraries is wrong on MacOSX
Summary: The information about loaded dynamic libraries printed in hs_err_pid files or by running the jcmd VM.dynlib is partly incorrect. The address printed in front of the library file name is wrong.
Reviewed-by: sla, gziemski, gtriantafill
Contributed-by: fredrik.arvidsson@oracle.com


# 6853:91eeb8807a03 07-Aug-2014 zgu

8046598: Scalable Native memory tracking development
Summary: Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill


# 6718:cefe56927aab 13-Jul-2014 hseigel

8030763: Validate global memory allocation
Summary: Add length checks where necessary
Reviewed-by: coleenp, mschoene


# 6692:4f9fa4b62c18 08-Jul-2014 fparain

8047714: Fix for JDK-6546236 made Solaris os::yield() a no-op
Reviewed-by: hseigel, lfoltan


# 6687:da4514678bcf 03-Jul-2014 dcubed

8047104: cleanup misc issues prior to Contended Locking reorder and cache
Summary: Checkpoint misc cleanups for Contended Locking prior to first optimization bucket.
Reviewed-by: dholmes, sspitsyn, dice


# 6683:08a2164660fb 26-Jun-2014 goetz

8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan


# 6649:01ab9db4584f 25-Jun-2014 jmasa

Merge


# 6646:b596a1063e90 04-Jun-2014 goetz

8044775: Improve usage of umbrella header atomic.inline.hpp.
Reviewed-by: stefank, kvn


# 6628:45831d971923 23-Jun-2014 fparain

8043630: Method os::yield_all() should be removed
Reviewed-by: dholmes, dsimms


# 6599:d9f77ba99034 17-Jun-2014 dcubed

8046758: cleanup non-indent white space issues prior to Contended Locking cleanup bucket
Summary: Checkpoint do_space_filter.ksh cleanups for Contended Locking.
Reviewed-by: sspitsyn, coleenp


# 6554:b728cf7dfbec 03-Jun-2014 iignatyev

8044339: Update FilterSpuriousWakeups documentation. Review "Solaris only" vm options descriptions
Reviewed-by: kvn, dholmes, iignatyev


# 6412:53a41e7cbe05 09-May-2014 drchase

8037816: Fix for 8036122 breaks build with Xcode5/clang
Summary: Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank


# 6402:2377269bd73d 29-Apr-2014 goetz

8042195: Introduce umbrella header orderAccess.inline.hpp.
Reviewed-by: dholmes, kvn, stefank, twisti


# 6350:d11386591874 24-Apr-2014 sla

8040140: System.nanoTime() is slow and non-monotonic on OS X
Reviewed-by: sspitsyn, shade, dholmes, acorn


# 6268:6dda607500e3 03-Apr-2014 fparain

Merge


# 6267:8f18c8dbc6df 03-Apr-2014 fparain

8038473: Remove support for old T1 libthread
Reviewed-by: dholmes, coleenp, acorn, dcubed


# 6266:469835cd5494 02-Apr-2014 kevinw

8033696: "assert(thread != NULL) failed: just checking" due to Thread::current() and JNI pthread interaction
Reviewed-by: dholmes, dsamersoff
Contributed-by: andreas.eriksson@oracle.com


# 6213:bba041a9a030 01-Apr-2014 goetz

8038201: Clean up misleading usage of malloc() in init_system_properties_values()
Summary: Remove the misleading malloc macro and cleanup the code
Reviewed-by: dsamersoff, kvn
Contributed-by: goetz.lindenmaier@sap.com


# 6135:8a4e412576de 14-Mar-2014 minqi

6536943: Bogus -Xcheck:jni warning for SIG_INT action for SIGINT in JVM started from non-interactive shell
Summary: Under non-interactive shell, with -Xcheck:jni, check_signal_handler will print out Warning for SHURDOWN2_SIGNAL (SIGINT) which is replaced by non-interactive shell. Fix by supply more information of the replacement to user.
Reviewed-by: acorn, dsamersoff
Contributed-by: yumin.qi@oracle.com


# 6032:bb9356ec5967 23-Feb-2014 hseigel

Merge


# 6029:6c9332549827 19-Feb-2014 fparain

6546236: Thread interrupt() of Thread.sleep() can be lost on Solaris due to race with signal handler
Reviewed-by: dholmes, dcubed


# 6019:28f281e8de1d 20-Feb-2014 kvn

Merge


# 6014:8a9bb7821e28 19-Feb-2014 kvn

Merge


# 5976:2b8e28fdf503 05-Nov-2013 kvn

Merge


# 5966:e2722a66aba7 05-Sep-2013 kvn

Merge


# 5964:f42f2e2a1518 25-Jul-2013 goetz

8020775: PPC64 (part 12): posix signal printing
Summary: Implement methods printing posix signal information and call them in unix os files.
Reviewed-by: kvn, dholmes, twisti
Contributed-by: thomas.stuefe@sap.com


# 5959:438e13354adf 19-Jul-2013 kvn

Merge


# 5947:f4f6ae481e1a 27-Jun-2013 kvn

Merge


# 5946:b5c8a61d7fa0 21-Jun-2013 kvn

Merge


# 5944:0f03ff49c720 18-Jun-2013 goetz

8016491: PPC64 (part 2): Clean up PPC defines.
Summary: Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set.
Reviewed-by: kvn


# 5922:b6ab2c9abfc5 12-Feb-2014 mduigou

8030350: Enable additional compiler warnings for GCC
Reviewed-by: dholmes, coleenp, erikj, tbell, ihse


# 5872:b59507f713e0 30-Jan-2014 rdurbin

8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
Summary: decoupled the '-XXaltjvm=<path>' option from the gamma launcher. Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.
Reviewed-by: dcubed, dholmes


# 5844:5944dba4badc 24-Jan-2014 dsimms

8028280: ParkEvent leak when running modified runThese which only loads classes
Summary: Use spin lock to manage ParkEvent and PlatformEvent free lists.
Reviewed-by: dholmes, fparain


# 5839:c250880a6673 23-Jan-2014 sla

8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked.
Summary: Make sure we only look for statically linked agents in the main process image
Reviewed-by: dsamersoff, bpittore, dcubed


# 5619:3b32d287da89 01-Nov-2013 amurillo

Merge


# 5591:e4f478e7781b 25-Oct-2013 jbachorik

8027294: Prepare hotspot for non TOD based uptime counter
Summary: Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime.
Reviewed-by: dholmes, sla


# 5580:e006d2e25bc7 24-Oct-2013 dholmes

8025673: [macosx] Disable X11 AWT toolkit
Summary: Disable but not completely remove the XAWT and headless toolkits on Mac OS X
Reviewed-by: dholmes
Contributed-by: david.dehaven@oracle.com


# 5460:3e265ce4d2dd 12-Oct-2013 hseigel

8025942: os::Bsd::available_memory() needs implementation
Summary: Implement using the host_statistics64() api.
Reviewed-by: dsamersoff, morris, dholmes, coleenp, hseigel, dcubed
Contributed-by: gerard.ziemski@oracle.com


# 5399:faff125a1ead 02-Oct-2013 dsamersoff

8022616: u4 should not be used as a type for thread_id
Summary: Usage of u4 as a type for thread_id cause a compilation error on platform, where thread_id is a pointer
Reviewed-by: sla, sspitsyn, minqi


# 5395:2bd38d594b9a 02-Oct-2013 dsamersoff

8025283: Nits in os_bsd file breaks compilation of open hotspot
Summary: Couple of nits in os_bsd.cpp brake compilation of open hotspot on non-apple platforms
Reviewed-by: sla, sspitsyn


# 5266:40136aa2cdb1 11-Sep-2013 tschatzl

8010722: assert: failed: heap size is too big for compressed oops
Summary: Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes


# 5143:4c84d351cca9 16-Aug-2013 stefank

8007074: SIGSEGV at ParMarkBitMap::verify_clear()
Summary: Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.
Reviewed-by: tschatzl, dcubed, brutisso


# 5129:3a57fa7a4cd0 22-Aug-2013 hseigel

7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX
Summary: Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX.
Reviewed-by: coleenp, dholmes, mseledtsov, ccheung


# 5128:c6ec0a97b30a 21-Aug-2013 sla

8022808: Kitchensink hangs on macos
Summary: Use pthread_mach_thread_np() instead of mach_thread_self() to avoid leaking resources
Reviewed-by: dholmes, rbackman


# 4930:59b052799158 04-Jul-2013 dcubed

8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Summary: Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp


# 4837:1f4355cee9a2 18-Jun-2013 zgu

8013651: NMT: reserve/release sequence id's in incorrect order due to race
Summary: Fixed NMT race condition for realloc, uncommit and release
Reviewed-by: coleenp, ccheung


# 4820:a837fa3d3f86 13-Jun-2013 dcubed

8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
Summary: Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.
Reviewed-by: zgu, stefank, dholmes, dsamersoff


# 4802:f2110083203d 10-Jun-2013 sla

8005849: JEP 167: Event-Based JVM Tracing
Reviewed-by: acorn, coleenp, sla
Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>


# 4797:ef1818846c22 06-Jun-2013 kvn

Merge


# 4795:2cb5d5f6d5e5 04-Jun-2013 simonis

8015252: Enable HotSpot build with Clang
Reviewed-by: twisti, dholmes, kvn


# 4784:f8c8cace25ad 06-Jun-2013 dcubed

Merge


# 4783:6bf8b8bb7c19 05-Jun-2013 hseigel

8009302: Mac OS X: JVM crash on infinite recursion on Appkit Thread
Summary: Use SA_ONSTACK flag to ensure signal gets delivered properly.
Reviewed-by: dholmes, coleenp
Contributed-by: gerard.ziemski@oracle.com


# 4769:e72f7eecc96d 28-May-2013 tschatzl

8013895: G1: G1SummarizeRSetStats output on Linux needs improvemen
Summary: Fixed the output of G1SummarizeRSetStats: too small datatype for the number of concurrently processed cards, added concurrent remembered set thread time retrieval for Linux and Windows (BSD uses os::elapsedTime() now), and other cleanup. The information presented during VM operation is now relative to the previous output, not always cumulative if G1SummarizeRSetStatsPeriod > 0. At VM exit, the code prints a cumulative summary.
Reviewed-by: johnc, jwilhelm


# 4605:9ce110b1d14a 02-May-2013 kvn

Merge


# 4592:e12c9b3740db 25-Apr-2013 vlivanov

8012260: ciReplay: Include PID into the name of replay data file
Reviewed-by: kvn, twisti


# 4554:f32b6c267d2e 29-Apr-2013 mikael

8012015: Use PROT_NONE when reserving memory
Summary: Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi


# 4456:8be1318fbe77 05-Apr-2013 dcubed

Merge


# 4454:cc32ccaaf47f 04-Apr-2013 mikael

8003310: Enable -Wunused-function when compiling with gcc
Summary: Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn


# 4453:17bf4d428955 03-Apr-2013 ccheung

8006103: [parfait] Possible null pointer dereference at hotspot/src/os/linux/vm/os_linux.cpp; os_windows.cpp; os_solaris.cpp; os_bsd.cpp
Reviewed-by: zgu, iklam


# 4419:754c24457b20 27-Mar-2013 tschatzl

7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM
Summary: Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method.
Reviewed-by: jmasa, tamao


# 4278:252ad8d5f22b 08-Mar-2013 dcubed

Merge


# 4276:6b803ba47588 07-Mar-2013 zgu

8008257: NMT: assert(new_rec->is_allocation_record()) failed when running with shared memory option
Summary: Corrected virtual memory recording and tagging code when large pages are used
Reviewed-by: coleenp, ccheung


# 4261:bdb602473679 07-Mar-2013 morris

Merge


# 4254:bf06968a8a00 04-Mar-2013 morris

8008559: [parfait] Path through non-void function '_ZN2os15thread_cpu_timeEP6Thread' returns an undefined value
Summary: safety checks for non-Apple thread time functions
Reviewed-by: kvn


# 4240:63e54c37ac64 27-Feb-2013 simonis

8008959: Fix non-PCH build on Linux, Windows and MacOS X
Summary: Fix the build without precompiled headers by either including the missing ".inline.hpp" files into the appropriate files or by turning inline-functions declared in header files into ordinary functions in ".cpp" files.
Reviewed-by: coleenp, stefank, dholmes


# 4173:5cd2fac2ae70 19-Feb-2013 hseigel

6749267: Signal handler should save/restore errno
Summary: Save errno before processing signal, then restore it.
Reviewed-by: acorn, sspitsyn


# 4129:758935f7c23f 07-Feb-2013 sla

8006423: SA: NullPointerException in sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:67)
Summary: Do not rely on mach thread port names to identify threads from SA
Reviewed-by: dholmes, minqi, rbackman


# 4036:22ba8c8ce6a6 22-Jan-2013 dcubed

8004902: correctness fixes motivated by contended locking work (6607129)
Summary: misc correctness fixes
Reviewed-by: acorn, dholmes, dice, sspitsyn
Contributed-by: dave.dice@oracle.com


# 4033:c07c102cbad7 21-Jan-2013 brutisso

8006431: os::Bsd::initialize_system_info() sets _physical_memory too large
Summary: Use HW_MEMSIZE instead of HW_USERMEM to get a 64 bit value of the physical memory on the machine. Also reviewed by vitalyd@gmail.com.
Reviewed-by: sla, dholmes, dlong, mikael


# 3957:7d42f3b08300 19-Dec-2012 dcubed

8005044: remove crufty '_g' support from HS runtime code
Summary: Phase 2 is removing '_g' support from the Runtime code.
Reviewed-by: dcubed, coleenp, hseigel
Contributed-by: ron.durbin@oracle.com


# 3890:d2f8c38e543d 07-Dec-2012 roland

Merge


# 3883:cd3d6a6b95d9 30-Nov-2012 twisti

8003240: x86: move MacroAssembler into separate file
Reviewed-by: kvn


# 3864:f34d701e952e 27-Nov-2012 stefank

8003935: Simplify the needed includes for using Thread::current()
Reviewed-by: dholmes, rbackman, coleenp


# 3826:6cb0d32b828b 07-Nov-2012 bpittore

8001185: parsing of sun.boot.library.path in os::dll_build_name somewhat broken
Summary: dll_dir can contain multiple paths, need to parse them correctly when loading agents
Reviewed-by: dholmes, dlong
Contributed-by: bill.pittore@oracle.com


# 3794:0af5da0c9d9d 29-Oct-2012 sla

8001619: Remove usage of _ALLBSD_SOURCE in bsd files
Reviewed-by: coleenp, dholmes


# 3701:bf2edd3c9b0f 04-Oct-2012 neliasso

8000102: Resolve include conflicts
Summary: Removing include of c1/c1_runtime.hpp and opto/runtime.hpp from all os-files.
Reviewed-by: kvn
Contributed-by: nils.eliasson@oracle.com


# 3526:3b01d0321dfa 30-Jul-2012 zgu

7186778: MachO decoder implementation for MacOSX
Summary: Implementation of decoder for Apple's MacOSX. The implementation is based on the patch provided by Kevin Walls.
Reviewed-by: coleenp, kamg, kevinw


# 3468:65906dc96aa1 03-Jul-2012 mikael

7129724: MAC: Core file location is wrong in crash report
Summary: Updated core path location to reflect macosx default
Reviewed-by: dholmes, kamg


# 3465:d2a62e0f25eb 28-Jun-2012 zgu

6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain


# 3348:7432b9db36ff 10-May-2012 nloodin

7165755: OS Information much longer on linux than other platforms
Reviewed-by: sla, dholmes


# 3190:fdf4deca44ec 08-Mar-2012 dcubed

7152206: anti-delta the fix for 7152031
Summary: Backout the fix for 7152031; the real bug to be fixed in jdk repo.
Reviewed-by: michaelm


# 3189:4e0a9aaec0e9 07-Mar-2012 dcubed

7152031: Hotspot needs updated xawt path [macosx]
Summary: Update to use the right path on MacOS X.
Reviewed-by: michaelm, jcoomes, amurillo


# 3152:0368109684cb 19-Feb-2012 sla

7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
Summary: Change OSThread to use mach thread_t
Reviewed-by: phh, dcubed


# 3151:86ce3208eb18 17-Feb-2012 dcubed

7145798: System.loadLibrary does not search current working directory
Summary: Append "." to java.library.path on MacOS X to ease migration from Apple's Java6 to OpenJDK7.
Reviewed-by: phh, jmelvin, coleenp


# 3046:de268c8a8075 26-Jan-2012 phh

7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
Summary: Add CriticalPriority == MaxPriority+1 and enable scheduling class as well as thread priority to change on Solaris.
Reviewed-by: dholmes, dcubed


# 3038:e8a4934564b2 24-Jan-2012 phh

7125793: MAC: test_gamma should always work
Summary: Fix gamma launcher on Mac OS X and reconcile test_gamma script on Unix platforms
Reviewed-by: dcubed, ohair, jcoomes, dholmes, ksrini
Contributed-by: james.melvin@oracle.com


# 2997:db18ca98d237 18-Jan-2012 zgu

7131050: fix for "7071311 Decoder enhancement" does not build on MacOS X
Summary: Decoder API changes did not reflect in os_bsd
Reviewed-by: kamg, dcubed


# 2928:20bfb6d15a94 27-Dec-2011 iveresov

7124829: NUMA: memory leak on Linux with large pages
Summary: In os::free_memory() use mmap with the same attributes as for the heap space
Reviewed-by: kvn
Contributed-by: Aleksey Ignatenko <aleksey.v.ignatenko@intel.com>


# 2904:e7dead7e90af 19-Dec-2011 johnc

7117303: VM uses non-monotonic time source and complains that it is non-monotonic
Summary: Replaces calls to os::javaTimeMillis(), which does not (and cannot) guarantee monotonicity, in GC code to an equivalent expression that uses os::javaTimeNanos(). os::javaTimeNanos is guaranteed monotonically non-decreasing if the underlying platform provides a monotonic time source. Changes in OS files are to make use of the newly defined constants in globalDefinitions.hpp.
Reviewed-by: dholmes, ysr


# 2846:36b057451829 16-Nov-2011 dholmes

7110017: is_headless_jre should be updated to reflect the new location of awt toolkit libraries
Reviewed-by: dholmes, dsamersoff
Contributed-by: Chris Hegarty <chris.hegarty@oracle.com>


# 2767:436b4a3231bf 13-Oct-2011 dcubed

7098194: integrate macosx-port changes
Summary: Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Reviewed-by: kvn, dholmes, never, phh
Contributed-by: Christos Zoulas <christos@zoulas.com>, Greg Lewis <glewis@eyesbeyond.com>, Kurt Miller <kurt@intricatesoftware.com>, Alexander Strange <astrange@apple.com>, Mike Swingler <swingler@apple.com>, Roger Hoover <rhoover@apple.com>, Victor Hernandez <vhernandez@apple.com>, Pratik Solanki <psolanki@apple.com>


# 2721:f08d439fab8c 25-Sep-2011 never

7089790: integrate bsd-port changes
Reviewed-by: kvn, twisti, jrose
Contributed-by: Kurt Miller <kurt@intricatesoftware.com>, Greg Lewis <glewis@eyesbeyond.com>, Jung-uk Kim <jkim@freebsd.org>, Christos Zoulas <christos@zoulas.com>, Landon Fuller <landonf@plausible.coop>, The FreeBSD Foundation <board@freebsdfoundation.org>, Michael Franz <mvfranz@gmail.com>, Roger Hoover <rhoover@apple.com>, Alexander Strange <astrange@apple.com>