History log of /openjdk10/hotspot/src/os/windows/vm/os_windows.cpp
Revision Date Author Comments
# 13544:61c0ae8bee4e 31-Aug-2017 gziemski

8173715: Remove FlatProfiler
Summary: Obsoleted Xprof flag, removed FlatProfiler code
Reviewed-by: dholmes, coleenp, vlivanov, pliden


# 13527:5cd4495a3efa 17-Aug-2017 goetz

8186072: dll_build_name returns true even if file is missing.
Summary: Split dll_build_name into two functions and consolidate to os.cpp file.
Reviewed-by: stuefe, dholmes


# 13524:38ff008318c3 18-Aug-2017 stuefe

8186349: [windows] Centralize dbghelp handling code
Summary: Rework and fix dbghelp.dll handling; add diagnostic output to hs-err file.
Reviewed-by: iklam, rrich, goetz


# 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


# 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


# 13234:28e384fe79fd 30-Jun-2017 mgerdin

8183229: Implement WindowsSemaphore::trywait
Reviewed-by: redestad, stefank, kbarrett


# 13213:4358b7205556 28-Jun-2017 coleenp

8182848: Some functions misplaced in debug.hpp
Summary: moved to vmError.hpp,cpp where they seemed more appropriate
Reviewed-by: stefank, stuefe


# 13211:e1bb3d3d7ee2 28-Jun-2017 coleenp

8182554: Code for os::random() assumes long is 32 bits
Summary: And make updating the _rand_seed thread safe.
Reviewed-by: stuefe, kbarrett, stefank


# 13153:c5c23d9dc61d 08-Jun-2017 gtriantafill

8166748: Clean out Windows IA64 support
Reviewed-by: kbarrett, coleenp, bobv, mdoerr


# 13100:fae0c4e970d0 18-May-2017 vkempik

8177522: -XX:OnOutOfMemoryError does not work if supplied twice on windows
Summary: use cmd /c on windows to execute onError commands
Reviewed-by: dholmes, hseigel


# 12533:8ae77838f86c 10-Jan-2017 rehn

8079441: Intermittent failures on Windows with "Unexpected exit from test [exit code: 1080890248]" (0x406d1388)
Summary: Do not raise (windows thread name) exception 0x406d1388 when no debugger is attached.
Reviewed-by: iklam, stuefe


# 12257:abb2824d2dfd 21-Oct-2016 mlarsson

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


# 12170:be080d1a870c 18-Oct-2016 rehn

8165526: Kitchensink sudden death - error code 0x406d1388
Reviewed-by: dholmes, sla, gtriantafill


# 12067:3a28a908d78b 26-Sep-2016 fparain

8146546: assert(fr->safe_for_sender(thread)) failed: Safety check
Reviewed-by: dcubed, gziemski, dlong


# 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


# 11954:b69381e24635 02-Sep-2016 mgerdin

8161079: Default heap size causes native memory exhaustion on 32 bit Windows
Reviewed-by: tschatzl, sjohanss


# 11949:1d7bc97f0b38 06-Sep-2016 fparain

8137035: nsk/stress/stack/stack tests got EXCEPTION_STACK_OVERFLOW on Windows 64 bit
Reviewed-by: dholmes, dcubed, coleenp


# 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


# 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


# 11624:bd8c7a2bd3c3 16-Jul-2016 igerasim

8160892: Race at the VM exit causes "WaitForMultipleObjects timed out"
Reviewed-by: dcubed, dholmes


# 11547:ed960e1c67fe 26-Jun-2016 iklam

8148813: Windows os::check_heap needs more information
Summary: added ring buffer to log info while walking the heap
Reviewed-by: mgronlun, dholmes, ccheung


# 11486:3950d1713ffa 13-Jun-2016 goetz

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


# 11273:23ef929f97d3 17-May-2016 ctornqvi

8151805: fatal error: heap walk aborted with error 1
Reviewed-by: gtriantafill, dcubed


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


# 11209:c84a6ce067ad 09-May-2016 mlarsson

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


# 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


# 10867:5469b15d97f4 11-Apr-2016 stefank

8152491: Convert TracePageSizes to use UL
Reviewed-by: sjohanss, pliden


# 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


# 10566:80706cc25494 09-Mar-2016 kbarrett

8150688: Fix os_windows siglabel
Summary: Change types to eliminate implicit narrowing, and other cleanups.
Reviewed-by: dholmes, tbenson


# 10445:57175b61dac3 06-Mar-2016 stuefe

8150843: [windows] os::getTimesSecs() returns negative values for kernel, user times
Reviewed-by: dholmes


# 10391:f146301c971f 29-Feb-2016 stuefe

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


# 10374:ca074069a447 24-Feb-2016 ctornqvi

Merge


# 10373:6416cd3a77b3 24-Feb-2016 ctornqvi

8150490: Update OS detection code to recognize Windows Server 2016
Reviewed-by: mgronlun, alanb, dholmes


# 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


# 10164:a5d77b663c2b 29-Jan-2016 stuefe

8147510: [windows] no text locations shown for register info in hs-err file
Reviewed-by: dholmes, iklam


# 9942:d87d1df270bf 13-Jan-2016 igerasim

8145127: VM warning: WaitForMultipleObjects timed out (0) ...
Summary: Increase number of tracked threads, and set exiting-process flag earlier
Reviewed-by: dholmes, dcubed


# 9917:bd73f2212479 05-Jan-2016 sangheki

8145000: TestOptionsWithRanges.java failure for XX:+UseNUMA -XX:+UseNUMAInterleaving -XX:NUMAInterleaveGranularity=65536
Summary: Add protect_pages_individually() to protect memory per chunk on Windows
Reviewed-by: jwilhelm, tbenson


# 9878:9c05e139faf7 22-Dec-2015 ctornqvi

8048521: Remove obsolete code from os_windows.cpp/hpp
Reviewed-by: coleenp, rdurbin


# 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


# 9727:f944761a3ce3 10-Dec-2015 brutisso

8145092: Use Unified Logging for the GC logging
Summary: JEP-271. VM changes contributed by brutisso, test changes contributed by david.
Reviewed-by: sjohanss, david, brutisso
Contributed-by: bengt.rutisson@oracle.com, david.lindholm@oralce.com


# 9722:b373da0bc248 09-Dec-2015 ctornqvi

8144921: Remove JDK6_OR_EARLIER code from os_windows
Reviewed-by: dholmes, mseledtsov, gtriantafill


# 9666:62bf6e152564 05-Dec-2015 stuefe

8144192: Enhancements-to-print_siginfo-windows
Summary: some small enhancement to os::print_siginfo for Windows
Reviewed-by: dholmes


# 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


# 9594:bb79d0fb6082 25-Nov-2015 coleenp

Merge


# 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


# 9566:6aa8279709e6 24-Nov-2015 stuefe

8143233: [windows] Fixes to os::check_heap()
Reviewed-by: dholmes, ctornqvi


# 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


# 9149:a8a8604f890f 17-Oct-2015 dlong

Merge


# 9111:a41fe5ffa839 08-Oct-2015 twisti

8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett


# 9056:dc9930a04ab0 29-Sep-2015 david

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


# 8986:4f3ddb6a2b70 14-Sep-2015 jiangli

8135097: Unmap failure for executable memory on windows
Summary: Use 'pd_release_memory' for executable memory in os::pd_unmap_memory().
Reviewed-by: iklam, 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


# 8699:1c0343a9139a 10-Jul-2015 ddmitriev

8130332: StarvationMonitorInterval, PreInflateSpin, VerifyGenericSignatures and CountInterpCalls VM Options can be deprecated or removed in JDK 9
Summary: Deprecate StarvationMonitorInterval and PreInflateSpin, remove VerifyGenericSignatures and CountInterpCalls
Reviewed-by: coleenp, gziemski


# 8656:289a2d2a8f97 19-Jan-2015 stefank

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


# 8638:767f36deb0dc 23-Jun-2015 bpittore

8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Summary: Need to add a space between macro identifier and string literal
Reviewed-by: stefank, dholmes, kbarrett


# 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


# 8472:1be53aada8de 01-Jun-2015 ctornqvi

8080446: The change for 8074354 removed the server check when creating minidumps on Windows
Reviewed-by: sla, hseigel


# 8435:13fa184842fa 21-May-2015 igerasim

8069068: VM warning: WaitForMultipleObjects timed out (0) ...
Summary: Increase timeout to 5 minutes
Reviewed-by: dholmes, dcubed


# 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


# 8128:883ae015914d 03-Apr-2015 stuefe

8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Summary: add __try/__except around JNI_CreateJavaVM
Reviewed-by: mgronlun, dcubed


# 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


# 7763:078a77b69f36 27-Jan-2015 ctornqvi

8071530: Update OS detection code to reflect Windows 10 version change
Reviewed-by: sla, mgronlun


# 7717:beff5066f32b 19-Jan-2015 igerasim

8069048: (process) Suspend finishing threads when process exits [win]
Reviewed-by: dholmes, dcubed


# 7553:5f61bb958fc5 12-Dec-2014 igerasim

8066863: bigapps/runThese/nowarnings fails: Java HotSpot(TM) 64-Bit Server VM warning: WaitForMultipleObjects
Summary: Limit the number of thread handles to MAXIMUM_WAIT_OBJECTS
Reviewed-by: dholmes, dcubed


# 7521:35e222a277ba 08-Dec-2014 minqi

Merge


# 7512:84af818eed0a 03-Dec-2014 mgronlun

8065788: os::reserve_memory() on Windows should not assert that allocation size is aligned to OS allocation granularity
Reviewed-by: mgronlun, simonis
Contributed-by: thomas.stuefe@sap.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


# 7455:7bb3772d6b0c 25-Nov-2014 igerasim

8064694: Kitchensink: WaitForMultipleObjects failed in hotspot\src\os\windows\vm\os_windows.cpp: 3844
Summary: Increase the timeout in debug builds; raise the priority of exiting threads
Reviewed-by: dcubed, dholmes


# 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


# 7327:092a9eddf58d 03-Nov-2014 ctornqvi

8059803: Update use of GetVersionEx to get correct Windows version in hs_err files
Summary: Update use of GetVersionEx to get correct Windows version in hs_err files
Reviewed-by: dcubed, gtriantafill


# 7319:0879f88db2d5 29-Oct-2014 igerasim

8059533: (process) Make exiting process wait for exiting threads [win]
Reviewed-by: dholmes, dcubed


# 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


# 7235:763abe04c848 13-Oct-2014 sla

7102541: RFE: os::set_native_thread_name() cleanups
Summary: implement os::set_native_thread_name() on windows, linux
Reviewed-by: sla, ctornqvi, simonis
Contributed-by: thomas.stuefe@sap.com


# 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


# 7049:396253716f03 10-Sep-2014 igerasim

8057744: (process) Synchronize exiting of threads and process [win]
Reviewed-by: dholmes, dcubed, sla


# 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


# 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


# 6932:af72c1a537dc 21-Aug-2014 igerasim

8055338: (process) Add instrumentation to help diagnose JDK-6573254
Reviewed-by: dcubed, ohair, iklam, dholmes, sspitsyn, sla


# 6927:f2417008f618 20-Aug-2014 zgu

8055236: Deadlock during NMT2 shutdown on Windows
Summary: Removed MemTracker::shutdown() call to avoid deadlock
Reviewed-by: minqi, ctornqvi


# 6853:91eeb8807a03 07-Aug-2014 zgu

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


# 6764:b1eb6f5a41ec 19-Jul-2014 sspitsyn

Merge


# 6761:739468857ffb 14-Jul-2014 coleenp

Merge


# 6760:22b98ab2a69f 04-Jul-2014 goetz

8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Summary: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes


# 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


# 6443:30869b0daa3e 15-May-2014 rdurbin

8028749: java -version crashes with 'fatal error: heap walk aborted with error 1'
Summary: check_heap() should only call HeapWalk() when HeapLock() is successful.
Reviewed-by: ctornqvi, sla, dcubed


# 6402:2377269bd73d 29-Apr-2014 goetz

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


# 6347:dc427574bc7a 23-Apr-2014 ctornqvi

8033405: metaspace/stressHierarchy/stressHierarchy005 hangs in atexit handler
Summary: <ake sure we shut down NMT before the VM exits and do not track malloc/free when NMT is shutting down
Reviewed-by: coleenp, zgu


# 6270:12a20d0319fa 05-Apr-2014 dsamersoff

Merge


# 6267:8f18c8dbc6df 03-Apr-2014 fparain

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


# 6218:be5c9920f0e1 31-Mar-2014 kvn

8038633: crash in VM_Version::get_processor_features() on startup
Summary: Windows need an exception wrapper around getPsrInfo_stub() call in order to properly handle SEGV for YMM registers test.
Reviewed-by: iveresov, iignatyev


# 6178:8867fec28aa1 14-Mar-2014 kvn

8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16
Summary: verify YMM registers after signal processing and set limit on vector's size.
Reviewed-by: iveresov, twisti


# 6073:f6301b007a16 26-Feb-2014 minqi

6498581: ThreadInterruptTest3 produces wrong output on Windows
Summary: There is race condition between os::interrupt and os::is_interrupted on Windows. In JVM_Sleep(Thread.sleep), check if thread gets interrupted, it may see interrupted but not really interrupted so cause spurious waking up (early return from sleep). Fix by checking if interrupt event really gets set thus prevent false return. For intrinsic of _isInterrupted, on Windows, go fastpath only on bit not set.
Reviewed-by: acorn, kvn
Contributed-by: david.holmes@oracle.com, yumin.qi@oracle.com


# 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


# 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


# 5798:2cfad8cc3bab 09-Jan-2014 zgu

7012961: runtime/jni/WindowsExceptionFilter/WindowsExceptionFilter01 crashes on windows-amd64
Summary: VM needs to handle EXCEPTION_FLT_* exceptions on Win64
Reviewed-by: coleenp, ccheung


# 5286:179cd89fb279 19-Sep-2013 tschatzl

Merge


# 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


# 5261:f7bc2ab5f659 11-Sep-2013 tschatzl

8016825: Large pages for the heap broken on Windows for compressed oops
Summary: Correctly pass the requested base address for the heap to the OS function to reserve memory.
Reviewed-by: brutisso, stefank


# 5253:8e94527f601e 11-Sep-2013 bpittore

8024007: Misc. cleanup of static agent code
Summary: Minor cleanup of static agent code from 8014135
Reviewed-by: dcubed, sspitsyn


# 5157:62f527c674d2 28-Aug-2013 dholmes

Merge


# 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


# 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


# 5069:98aa538fd97e 09-Aug-2013 mikael

8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2
Summary: Add support for recognizing Windows 8.1 and Server 2012 R2 and minor cleanup
Reviewed-by: coleenp, dsamersoff


# 4991:af21010d1062 18-Jul-2013 dcubed

Merge


# 4989:5e3b6f79d280 17-Jul-2013 rbackman

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


# 4966:a74ec8831c7b 14-Jul-2013 clucasius

Merge


# 4965:980532a806a5 20-Jun-2013 goetz

8016697: Use stubs to implement safefetch
Summary: Implement Safefetch as stub routines. This reduces compiler and os dependencies.
Reviewed-by: twisti, kvn


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


# 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


# 4747:a213d425d87a 28-May-2013 ctornqvi

8015329: Print reason for failed MiniDumpWriteDump() call
Summary: Printing both result from GetLastError and text representation of error. Also changed so that we produce dumps by default on client versions of Windows when running with a debug build. Also reviewed by peter.allwin@oracle.com
Reviewed-by: sla, dholmes


# 4668:f9be75d21404 14-May-2013 minqi

8012902: remove use of global operator new - take 2
Summary: The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.
Reviewed-by: coleenp, dholmes, zgu
Contributed-by: yumin.qi@oracle.com


# 4599:0b55a78c6be5 26-Apr-2013 bharadwaj

Merge


# 4592:e12c9b3740db 25-Apr-2013 vlivanov

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


# 4533:cc12becb22e7 21-Apr-2013 dcubed

Merge


# 4532:5a9fa2ba85f0 21-Apr-2013 dcubed

8012907: anti-delta fix for 8010992
Summary: anti-delta fix for 8010992 until 8012902 can be fixed
Reviewed-by: acorn, minqi, rdurbin


# 4529:5b6512efcdc4 19-Apr-2013 dcubed

Merge


# 4527:6f817ce50129 19-Apr-2013 minqi

8010992: Remove calls to global ::operator new[] and new
Summary: disable use of global operator new and new[] which could cause unexpected exception and escape from NMT tracking.
Reviewed-by: coleenp, dholmes, zgu
Contributed-by: yumin.qi@oracle.com


# 4507:f36e073d56a4 12-Apr-2013 drchase

7104565: trim jprt build targets
Summary: remove JPRT debug builds, remove -DDEBUG -DFASTDEBUG and use ASSERT instead in sources
Reviewed-by: dholmes, kvn, coleenp


# 4456:8be1318fbe77 05-Apr-2013 dcubed

Merge


# 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


# 4445:0ca3dd0ffaba 04-Apr-2013 bharadwaj

Merge


# 4437:53028d751155 02-Apr-2013 neliasso

7034299: Faulty winsock initialization code
Reviewed-by: dholmes, sla, ctornqvi


# 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


# 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


# 4163:7adae9244bc8 13-Feb-2013 mgronlun

8007312: null check signal semaphore in os::signal_notify windows
Reviewed-by: dholmes, sla


# 4100:9fae07c31641 25-Jan-2013 morris

6518907: cleanup IA64 specific code in Hotspot
Summary: removed unused IA64 specific code
Reviewed-by: twisti, kvn, dholmes


# 4039:2ef7061f13b4 22-Jan-2013 zgu

Merge


# 4038:edd23b35b1a5 22-Jan-2013 zgu

6871190: Don't terminate JVM if it is running in a non-interactive session
Summary: Don't handle CTRL_LOGOFF_EVENT event when the process is running in a non-interactive session
Reviewed-by: ctornqvi, acorn


# 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


# 4030:203f64878aab 17-Jan-2013 hseigel

7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems.
Summary: Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn


# 3959:4daebd4cc1dd 24-Dec-2012 minqi

Merge


# 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


# 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


# 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


# 3792:5ec0c42da025 25-Oct-2012 coleenp

7188234: Deprecate VM command line options
Summary: Remove support for the UseVectoredExceptions flag
Reviewed-by: jcoomes, kamg
Contributed-by: harold.seigel@oracle.com


# 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


# 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


# 3394:de909f001528 05-Jun-2012 mikael

7170275: os::print_os_info needs to know about Windows 8
Summary: Recognize Windows 8 and Windows Server 2012
Reviewed-by: sla, kvn, azeemj


# 3348:7432b9db36ff 10-May-2012 nloodin

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


# 3312:ec15e8f6e4f1 24-Apr-2012 twisti

7157695: Add windows implementation of socket interface
Reviewed-by: kvn, dholmes, twisti
Contributed-by: Nils Eliasson <nils.eliasson@oracle.com>


# 3171:da4be62fb889 27-Feb-2012 roland

7147740: add assertions to check stack alignment on VM entry from generated code (x64)
Summary: check stack alignment on VM entry on x64.
Reviewed-by: kvn, never


# 3067:379b22e03c32 03-Feb-2012 jcoomes

Merge


# 3064:aa3d708d67c4 01-Feb-2012 never

7141200: log some interesting information in ring buffers for crashes
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa


# 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


# 2995:d7e3846464d0 17-Jan-2012 zgu

7071311: Decoder enhancement
Summary: Made decoder thread-safe
Reviewed-by: coleenp, kamg


# 2949:2b3acb34791f 06-Jan-2012 dcubed

Merge


# 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


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


# 2912:4b18532913c7 21-Dec-2011 vladidan

Merge


# 2909:11c26bfcf8c7 21-Dec-2011 phh

7091417: recvfrom's 6th input should be of type socklen_t
Summary: Revamp class os's socket method formal args to match socket.h, insert casts in appropriate places, and copyin-copyout int*'s that s/b socklen_t*'s in jvm.cpp.
Reviewed-by: coleenp, dholmes
Contributed-by: erik.gahlin@oracle.com, rickard.backman@oracle.com, nils.loodin@oracle.com, markus.gronlund@oracle.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


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


# 2692:0a63380c8ac8 13-Sep-2011 iveresov

7090069: Java launcher hangs in infinite loop on windows when UseNUMA[Interleaving] is specified
Summary: Fix _numa_used_node_list array size specification
Reviewed-by: kvn, johnc, jmasa, ysr


# 2683:a6128a8ed624 07-Sep-2011 iveresov

7086226: UseNUMA fails on old versions of windows
Summary: Return correct answers from os::numa_*() for UMA machines or if NUMA API is not supported
Reviewed-by: johnc


# 2650:3cd0157e1d4d 25-Aug-2011 iveresov

7082969: NUMA interleaving
Summary: Support interleaving on NUMA systems for collectors that don't have NUMA-awareness.
Reviewed-by: iveresov, ysr
Contributed-by: Tom Deneau <tom.deneau@amd.com>


# 2597:279ef1916773 12-Jul-2011 zgu

7065535: Mistyped function name that disabled UseLargePages on Windows
Summary: Missing suffix "A" of Windows API LookupPrivilegeValue failed finding function pointer, caused VM to disable UseLargePages option
Reviewed-by: coleenp, phh


# 2596:b1cbb0907b36 15-Apr-2011 zgu

7016797: Hotspot: securely/restrictive load dlls and new API for loading system dlls
Summary: Created Windows Dll wrapped to handle jdk6 and jdk7 platform requirements, also provided more restictive Dll search orders for Windows system Dlls.
Reviewed-by: acorn, dcubed, ohair, alanb


# 2562:bf6481e5f96d 06-Jul-2011 jcoomes

7061225: os::print_cpu_info() should support os-specific data
Reviewed-by: dholmes, never, jwilhelm, kvn


# 2415:188c9a5d6a6d 29-Apr-2011 iveresov

7040485: Use transparent huge page on linux by default
Summary: Turn on UseLargePages by default but try only HugeTLBFS method if it is not explicitly specified on the command line.
Reviewed-by: ysr


# 2337:5504afd15955 14-Apr-2011 zgu

7033100: CreateMinidumpOnCrash does not work for failed asserts
Summary: Passing NULL as MINIDUMP_EXCEPTION_INFORMATION when calling MiniDumpWriteDump when crash is due to assertion instead of real exception to avoid creating zero-length mini dump file.
Reviewed-by: acorn, dcubed, poonam, coleenp


# 2233:083f13976b51 21-Mar-2011 dholmes

6535709: interrupt of wait()ing thread isn't triggerring InterruptedException - test intwait3
Summary: only clear the interrupt state if we will report that it was set
Reviewed-by: dcubed, alanb, phh, coleenp, dice


# 2153:5584e20db481 02-Mar-2011 sla

7023323: Build failure on VS2003: IsDebuggerPresent not found
Summary: #define _WIN32_WINNT 0x500
Reviewed-by: ohrstrom, hosterda, coleenp


# 2149:da091bb67459 28-Feb-2011 sla

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


# 2086:b83527d0482d 09-Feb-2011 ctornqvi

7018366: hotspot/runtime_erro Fix for 7014918 does not build using MVC 2003
Summary: Looking at API_VERSION_NUMBER define to see what version of dbghelp.h/imagehlp.h is included to determine what MINIDUMP_TYPEs are defined in the header file
Reviewed-by: acorn, brutisso, sla


# 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


# 2015:34d64ad817f4 12-Jan-2011 coleenp

7009828: Fix for 6938627 breaks visualvm monitoring when -Djava.io.tmpdir is defined
Summary: Change get_temp_directory() back to /tmp and %TEMP% like it always was and where the tools expect it to be.
Reviewed-by: phh, dcubed, kamg, alanb


# 1957:c19157304e08 22-Dec-2010 zgu

Merge


# 1956:1e637defdda6 22-Dec-2010 zgu

6961186: Better VM handling of unexpected exceptions from application native code
Summary: Trap uncaught C++ exception on Windows and Solaris and generate hs_err report.
Reviewed-by: coleenp, bobv, dholmes


# 1934:aa6e219afbf1 15-Dec-2010 sla

7006354: Updates to Visual Studio project creation and development launcher
Summary: Updates to Visual Studio project creation and development launcher
Reviewed-by: stefank, coleenp


# 1930:54f5dd2aa1d9 11-Dec-2010 zgu

Merge


# 1929:2d4762ec74af 11-Dec-2010 zgu

7003748: Decode C stack frames when symbols are presented (PhoneHome project)
Summary: Implemented in-process C native stack frame decoding when symbols are available.
Reviewed-by: coleenp, never


# 1892:cb2d0a362639 02-Dec-2010 sla

6981484: Update development launcher
Summary: Add new development launcher called hotspot(.exe)
Reviewed-by: coleenp


# 1887:828eafbd85cc 01-Dec-2010 ikrylov

6348631: remove the use of the HPI library from Hotspot
Summary: move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request
Reviewed-by: coleenp, acorn, dsamersoff


# 1879:f95d63e2154a 23-Nov-2010 stefank

6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg


# 1787:b6aedd1acdc0 07-Oct-2010 coleenp

6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
Summary: min_stack_allowed is a compile time constant and Stack*Pages are settable
Reviewed-by: dholmes, kvn


# 1785:1c352af0135d 04-Oct-2010 acorn

6763959: java.util.concurrent.locks.LockSupport.parkUntil(0) blocks forever
Summary: Absolute time 0 needs to return immediately.
Reviewed-by: phh, dcubed, dholmes


# 1601:126ea7725993 03-Aug-2010 bobv

6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes


# 1472:c18cbe5936b8 27-May-2010 trims

6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair


# 1410:f03d0a26bf83 22-Apr-2010 jcoomes

6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed


# 1353:a2ea687fdc7c 31-Mar-2010 coleenp

6938627: Make temporary directory use property java.io.tmpdir when specified
Summary: Get java.io.tmpdir property in os::get_temp_directory() and call this instead of harcoding "/tmp". Don't assume trailing file_separator either.
Reviewed-by: dholmes, kamg


# 1320:3b3d12e645e7 12-Mar-2010 coleenp

6929067: Stack guard pages should be removed when thread is detached
Summary: Add code to unmap stack guard area when thread is detached.
Reviewed-by: coleenp, kamg


# 1215:f19bf22685cc 02-Feb-2010 dcubed

Merge


# 1214:0fc941df6fb7 02-Feb-2010 dcubed

6918421: 1/1 in-process JVM now ignores preset Windows unhandled exception filter
Summary: Add support for chaining Windows UnhandledExceptionFilter handlers
Reviewed-by: kamg, dholmes, never, acorn, ikrylov


# 1123:167c2986d91b 15-Dec-2009 phh

6843629: Make current hotspot build part of jdk5 control build
Summary: Source changes for older compilers plus makefile changes.
Reviewed-by: xlu


# 962:aafa4232dfd7 28-Aug-2009 asaha

6821003: Update hotspot windows os_win32 for windows 7
Reviewed-by: xlu


# 877:8c79517a9300 16-Jul-2009 poonam

6840305: Discrepancy in system memory details (when 4G or greater) reported by JVM and Windows OS
Summary: GlobalMemoryStatus() does not report correct memory usage when the system has more than 4gb of RAM. GlobalMemoryStatusEx() should be used in place of GlobalMemoryStatus().
Reviewed-by: kamg, coleenp


# 717:c8152ae3f339 21-Apr-2009 coleenp

6830069: UseLargePages is broken on Win64
Summary: Making VirtualAlloc/VirtualProtect two calls for PAGE_EXECUTE_READWRITE doesn't work for MEM_LARGE_PAGES.
Reviewed-by: xlu, kvn, jcoomes


# 691:956304450e80 01-Apr-2009 phh

6819213: revive sun.boot.library.path
Summary: Support multiplex and mutable sun.boot.library.path
Reviewed-by: acorn, dcubed, xlu


# 656:6bdd6923ba16 25-Mar-2009 coleenp

6541756: Reduce executable C-heap
Summary: Add executable parameters to reserve_memory and commit_memory to reduce executable memory to only the Code Heap.
Reviewed-by: xlu, kvn, acorn


# 647:bd441136a5ce 19-Mar-2009 kvn

Merge


# 642:660978a2a31a 12-Mar-2009 kvn

6791178: Specialize for zero as the compressed oop vm heap base
Summary: Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.
Reviewed-by: never, twisti, jcoomes, coleenp


# 579:0fbdb4381b99 09-Mar-2009 xdono

6814575: Update copyright year
Summary: Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair


# 548:773234c55e8c 09-Feb-2009 ysr

6800586: -XX:+PrintGCDateStamps is using mt-unsafe localtime function
Summary: replaced localtime() with localtime_r() on Solaris and Linux.
Reviewed-by: apetrusenko, dholmes, jmasa


# 477:24fda36852ce 10-Dec-2008 coleenp

6727377: VM stack guard pages on Windows should PAGE_READWRITE not PAGE_EXECUTE_READWRITE
Summary: Make reguard_stack change access to RW, not execute and use os::protect_memory with the new parameter when change needed to X.
Reviewed-by: acorn, jcoomes


# 467:8724fb00c422 05-Dec-2008 blacklion

Merge


# 465:dc16daa0329d 04-Dec-2008 poonam

6739363: Xcheck jni doesn't check native function arguments
Summary: Fix adds support for verifying arguments with -Xcheck:jni.
Reviewed-by: coleenp


# 462:85f1b9537f70 03-Dec-2008 iveresov

6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
Summary: In os::Linux::rebuild_cpu_to_node_map() fix the size of the CPU bitmap. Fixed arithmetic in MutableNUMASpace::adaptive_chunk_size() that could cause overflows and underflows of the chunk_size variable.
Reviewed-by: apetrusenko


# 389:ee21eaa8ffe1 02-Oct-2008 jmasa

6660681: Incrementally reserve pages on win server 2003 for better large page affinity
Summary: For windows server 2003 added option to reserve large pages individually.
Reviewed-by: alanb, jcoomes, tonyp, apetrusenko


# 356:1ee8caae33af 21-Aug-2008 tonyp

Merge


# 342:37f87013dfd8 05-Jun-2008 ysr

6711316: Open source the Garbage-First garbage collector
Summary: First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr


# 273:6f17a7c9f8b4 01-Aug-2008 xlu

6719981: Update Hotspot Windows os_win32 for windows XP 64 bit and windows 2008
Reviewed-by: dholmes, kamg


# 242:d95b224e9f17 28-Jul-2008 kamg

6721093: -XX:AppendRatio=N not supported
Summary: Add mechanism to ignore unsupported flags for a set period of time
Reviewed-by: acorn, never, coleenp


# 237:1fdb98a17101 19-Jul-2008 coleenp

6716785: implicit null checks not triggering with CompressedOops
Summary: allocate alignment-sized page(s) below java heap so that memory accesses at heap_base+1page give signal and cause an implicit null check
Reviewed-by: kvn, jmasa, phh, jcoomes


# 196:d1605aabd0a1 02-Jul-2008 xdono

6719955: Update copyright year
Summary: Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell


# 142:8bd1e4487c18 04-May-2008 iveresov

Merge


# 141:fcbfc50865ab 29-Apr-2008 iveresov

6684395: Port NUMA-aware allocator to linux
Summary: NUMA-aware allocator port to Linux
Reviewed-by: jmasa, apetrusenko


# 113:ba764ed4b6f2 13-Apr-2008 coleenp

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold


# 79:82db0859acbe 29-Mar-2008 jcoomes

6642862: Code cache allocation fails with large pages after 6588638
Reviewed-by: apetrusenko


# 62:cd0742ba123c 20-Mar-2008 kamg

Merge


# 61:5a76ab815e34 19-Mar-2008 sbohne

6667833: Remove CacheTimeMillis
Summary: Remove -XX:+CacheTimeMillis option and associated functionality
Reviewed-by: acorn, never


# 20:e195fe4c40c7 05-Dec-2007 phh

6629887: 64-bit windows should not restrict default heap size to 1400m
Reviewed-by: jmasa, sbohne, ikrylov, xlu


# 0:a61af66fc99e 30-Nov-2007 duke

Initial load