History log of /openjdk10/hotspot/src/os/posix/vm/os_posix.cpp
Revision Date Author Comments
# 13531:7a698e293256 28-Aug-2017 mgerdin

8186897: semaphore_posix.hpp should not be included on OSX
Reviewed-by: stefank, dholmes


# 13268:786437c6344b 07-Jul-2017 rehn

8183925: Decouple crash protection from watcher thread
Reviewed-by: dcubed, coleenp


# 13249:a2753984d2c1 05-Jul-2017 stefank

8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden


# 13246:79d1fc5113d1 24-Apr-2017 stefank

8178501: Replace usages of align macros with calls to the align inline functions
Reviewed-by: mgerdin, tschatzl


# 13244:ebbb31f0437e 13-Apr-2017 stefank

8178500: Replace usages of round_to and round_down with align_up and align_down
Reviewed-by: rehn, tschatzl


# 13243:7235bc30c0d7 04-Jul-2017 stefank

8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl


# 13242:fcb4803050e8 12-Apr-2017 stefank

8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn


# 13182:c57359443ca8 13-Jun-2017 stuefe

8182034: os::Posix::is_valid_signal() should, if it uses sigaddset, initialize the signal set
Summary: Added missing sigemptyset.
Reviewed-by: kbarrett, clanger


# 13132:67e19eb00336 30-May-2017 mikael

8180184: Add DATA and FSIZE to os::Posix::print_rlimit_info
Reviewed-by: dholmes, stuefe


# 13131:4e5902b7f92e 30-May-2017 dholmes

8174231: Factor out and share PlatformEvent and Parker code for POSIX systems
Reviewed-by: stuefe, rehn, dcubed


# 13075:14615e6c4946 11-May-2017 mikael

8180039: Use more portable print format/arguments for rlim_t
Reviewed-by: dholmes, mgerdin, stuefe


# 12970:fdc31f43d8b1 23-Mar-2017 cjplummer

8176768: hotspot ignores PTHREAD_STACK_MIN when creating new threads
Summary: Use PTHREAD_STACK_MIN as a minimum, plus other stack size cleanup
Reviewed-by: dholmes, stuefe, dcubed


# 12955:df939ae80f04 13-Mar-2017 stuefe

8173848: realpath is unsafe
Summary: Fix occurrences of realpath in hotspot to use safe POSIX.1-2008 form.
Reviewed-by: dsamersoff, dholmes, clanger


# 12469:c7a256349729 19-Dec-2016 goetz

8170655: [posix] Fix minimum stack size computations
Reviewed-by: dcubed, coleenp


# 12468:548cb3b7b713 08-Nov-2016 goetz

8169373: Work around linux NPTL stack guard error.
Summary: Also skip libc guard page for compiler thread, merge similar code on linux platforms, and streamline libc guard page handling on linuxs390, linuxppc, aixppc.
Reviewed-by: dholmes, dcubed, kvn


# 12257:abb2824d2dfd 21-Oct-2016 mlarsson

8166117: Add UTC timestamp decorator for UL
Reviewed-by: rehn, rprotacio


# 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


# 11817:8f2230e4c0ed 15-Aug-2016 cjplummer

8133747: NMT includes an extra stack frame due to assumption NMT is making on tail calls being used
Summary: Better frame skipping logic in NativeCallStack::NativeCallStack.
Reviewed-by: dholmes, zgu


# 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


# 11209:c84a6ce067ad 09-May-2016 mlarsson

8145934: Make ttyLocker equivalent for Unified Logging framework
Reviewed-by: rprotacio, stuefe, jrose


# 11200:d590007cce26 09-May-2016 iignatyev

8149591: Prepare hotspot for GTest
Reviewed-by: jwilhelm
Contributed-by: stefan.karlsson@oracle.com, stefan.sarne@oracle.com, jesper.wilhelmsson@oracle.com, erik.helin@oracle.com, alexandre.iline@oracle.com, igor.ignatyev@oracle.com


# 11011:d142a959d2ae 22-Apr-2016 goetz

8154921: Fix aix after "8146879: Add option for handling existing log files in UL"
Summary: Rename os::fileno to os::get_fileno because AIX defines macro 'fileno'.
Reviewed-by: coleenp


# 10870:5bc83f454d50 10-Apr-2016 mlarsson

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


# 10627:1537c752a7f5 12-Mar-2016 stuefe

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


# 10459:7fbe91178ff9 07-Mar-2016 dsamersoff

8147456: Parsing of argument for -agentpath can write outside of allocated memory
Reviewed-by: sspitsyn, dholmes
Contributed-by: sharath.ballal@oracle.com


# 10367:1c53edac6621 24-Feb-2016 stuefe

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


# 10272:b0cdcfe42ebf 17-Feb-2016 mlarsson

8148219: Add decorator hostname to UL
Reviewed-by: dholmes, mlarsson
Contributed-by: robbin.ehn@oracle.com


# 9898:2794bc7859f5 07-Jan-2016 jprovino

Merge


# 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


# 9821:867bdec7c8c5 21-Dec-2015 aph

8145096: Undefined behaviour in HotSpot
Summary: Fix some integer overflows
Reviewed-by: jrose, kvn, kbarrett, adinn, iklam


# 9743:d6c6ee9d40b0 14-Dec-2015 stuefe

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


# 9713:22820fb8d36c 10-Dec-2015 david

8145073: Filename and linenumber are not printed for asserts any more.
Reviewed-by: dholmes, stuefe


# 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


# 9521:eb0e2e67755b 18-Nov-2015 gthornbr

8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
Summary: Add libadimalloc.so SIGSEGV defines and a test to validate the correct message is printed in the hs_err file
Reviewed-by: dcubed, dholmes


# 9336:766ae06f30ca 04-Nov-2015 rprotacio

8138916: Logging write function does not allow for long enough messages
Summary: The unified logging framework's vwrite function is updated to allow strings longer than 512 characters, for the sake of messages of non-pre-determined length.
Reviewed-by: coleenp, dsamersoff, mlarsson


# 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


# 8774:eb2c5c42482f 23-Jul-2015 simonis

8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
Reviewed-by: dholmes, kbarrett


# 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


# 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


# 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>


# 7554:4e9283984ee1 12-Dec-2014 coleenp

8066803: compiler/intrinsics/mathexact/SubExactINonConstantTest.java crashed in os::is_first_C_frame(frame*)
Summary: Stop native stack walk when we get to compiled or stub frame.
Reviewed-by: hseigel, lfoltan, ctornqvi


# 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


# 7023:f9e9ec181abb 08-Sep-2014 minqi

8056930: Output host info under some condition for core dump
Summary: Output host name after java crashed for debug version.
Reviewed-by: dholmes, ccheung
Contributed-by: yumin.qi@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


# 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


# 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


# 6014:8a9bb7821e28 19-Feb-2014 kvn

Merge


# 5976:2b8e28fdf503 05-Nov-2013 kvn

Merge


# 5966:e2722a66aba7 05-Sep-2013 kvn

Merge


# 5965:bdd155477289 22-Aug-2013 goetz

8023033: PPC64 (part 13): basic changes for AIX
Summary: Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank


# 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


# 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


# 5180:c636758ea616 30-Aug-2013 dcubed

Merge


# 5174:cc56f122f3f7 29-Aug-2013 sla

8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X
Reviewed-by: dholmes, rbackman


# 5150:f92b82d454fa 23-Aug-2013 bpittore

8014135: The JVMTI specification does not conform to recent changes in JNI specification
Summary: Added support for statically linked agents
Reviewed-by: sspitsyn, bobv, coleenp


# 4989:5e3b6f79d280 17-Jul-2013 rbackman

8020701: Avoid crashes in WatcherThread
Reviewed-by: acorn, dcubed, dsimms


# 4592:e12c9b3740db 25-Apr-2013 vlivanov

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


# 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


# 3934:730cc4ddd550 17-Dec-2012 brutisso

7173959: Jvm crashed during coherence exabus (tmb) testing
Summary: Mapping of aligned memory needs to be MT safe. Also reviewed by: vitalyd@gmail.com
Reviewed-by: dholmes, coleenp, zgu


# 3718:b9a9ed0f8eeb 09-Oct-2012 mikael

7197424: update copyright year to match last edit in jdk8 hotspot repository
Summary: Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp


# 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


# 2944:b16494a69d3d 03-Jan-2012 phh

7126185: Clean up lasterror handling, add os::get_last_error()
Summary: Add os::get_last_error(), replace getLastErrorString() by os::lasterror() in os_windows.cpp.
Reviewed-by: kamg, dholmes
Contributed-by: erik.gahlin@oracle.com


# 2149:da091bb67459 28-Feb-2011 sla

7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda


# 2085:63d374c54045 09-Feb-2011 ctornqvi

7014918: Improve core/minidump handling in Hotspot
Summary: Added Minidump support on Windows, enabled large page core dumps when coredump_filter is present and writing out path/rlimit for core dumps.
Reviewed-by: poonam, dsamersoff, sla, coleenp