215 Commits

Author SHA1 Message Date
Thomas Stuefe
704c02a180 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Add __try/__except around JNI_CreateJavaVM

Reviewed-by: mgronlun, dcubed
2015-04-03 05:55:33 -04:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Markus Grönlund
8c5e105bac 8073042: jcmd hangs until another jcmd is executed (which, in turn also hangs)
Reviewed-by: jbachorik, dsamersoff, farvidsson
2015-03-03 20:17:07 +01:00
Jaroslav Bachorik
48639428ce 8068976: Remove JSDT implementation
Reviewed-by: sla, mchung, dholmes
2015-01-12 14:05:16 +01:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
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
2015-01-28 17:52:48 +01:00
Christian Tornqvist
fa47cc3e21 8071530: Update OS detection code to reflect Windows 10 version change
Reviewed-by: sla, mgronlun
2015-01-27 05:51:00 -08:00
Ivan Gerasimov
878f630fe0 8069048: (process) Suspend finishing threads when process exits [win]
Reviewed-by: dholmes, dcubed
2015-01-19 11:35:15 +03:00
Ivan Gerasimov
ff0ca0af12 8066863: bigapps/runThese/nowarnings fails: Java HotSpot(TM) 64-Bit Server VM warning: WaitForMultipleObjects
Limit the number of thread handles to MAXIMUM_WAIT_OBJECTS

Reviewed-by: dholmes, dcubed
2014-12-12 17:24:17 +03:00
Yumin Qi
bb30bd7e0a Merge 2014-12-08 00:15:55 -08:00
Alejandro Murillo
db929c3598 Merge 2014-12-05 16:36:07 -08:00
Thomas Stuefe
7a2bd82482 8065788: os::reserve_memory() on Windows should not assert that allocation size is aligned to OS allocation granularity
Reviewed-by: mgronlun, simonis
2014-12-03 17:12:25 +01:00
Chris Hegarty
393a39afe3 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:21:14 +00:00
Max Ockner
91dbd4f088 8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Cleaned up unused arguments in os::free and it's callers.

Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Ivan Gerasimov
5ffd65a731 8064694: Kitchensink: WaitForMultipleObjects failed in hotspot\src\os\windows\vm\os_windows.cpp: 3844
Increase the timeout in debug builds; raise the priority of exiting threads

Reviewed-by: dcubed, dholmes
2014-11-25 14:16:32 +03:00
Jiangli Zhou
75778598e2 Merge 2014-11-06 01:31:31 +00:00
Chris Plummer
7a414a2c7d 8043770: File leak in MemNotifyThread::start() in hotspot.src.os.linux.vm.os_linux.cpp
Fixed by removing all code related to LowMemoryProtection, which removed offending code.

Reviewed-by: dholmes, minqi
2014-11-05 13:00:59 -08:00
Christian Tornqvist
f048251de8 8059803: Update use of GetVersionEx to get correct Windows version in hs_err files
Update use of GetVersionEx to get correct Windows version in hs_err files

Reviewed-by: dcubed, gtriantafill
2014-11-03 11:34:13 -08:00
Goetz Lindenmaier
0aa09022fa 8062370: Various minor code improvements
A lot of fixes useful to improve the code quality.

Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Ivan Gerasimov
14e05b4858 8059533: (process) Make exiting process wait for exiting threads [win]
Reviewed-by: dholmes, dcubed
2014-10-29 09:53:56 -07:00
Daniel D. Daugherty
0d3acc8838 8061552: Contended Locking speedup PlatformEvent unpark bucket
JEP-143/JDK-8046133 - optimization #2 - speedup PlatformEvent unpark bucket.

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: acorn, dice, dholmes
2014-10-29 09:19:59 -07:00
Frederic Parain
209ffcd9a5 8061618: Removed unused networking functions from os class
Reviewed-by: lfoltan, hseigel, dholmes
2014-10-22 02:31:25 -07:00
Thomas Stuefe
51866388d1 7102541: RFE: os::set_native_thread_name() cleanups
Implement os::set_native_thread_name() on windows, linux

Reviewed-by: sla, ctornqvi, simonis
2014-10-13 22:11:39 +02:00
Frederic Parain
94af790733 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:45:58 -07:00
Chris Plummer
db57351f43 8046607: Code cleanup: PerfMemory::backing_store_filename() should be removed
Removed PerfMemory::backing_store_filename() API since it is not used anywhere.

Reviewed-by: sla, hseigel
2014-10-03 13:56:18 -07:00
Daniel D. Daugherty
e7bc11f7b1 Merge 2014-09-10 17:06:36 -07:00
Daniel D. Daugherty
5e63b8cfc4 8057109: manual cleanup of white space issues prior to Contended Locking reorder and cache line bucket
Reviewed-by: fparain, sspitsyn, coleenp
2014-09-10 11:52:16 -06:00
Daniel D. Daugherty
e1a36d62a0 8057107: cleanup indent white space issues prior to Contended Locking reorder and cache line bucket
Reviewed-by: fparain, sspitsyn, coleenp
2014-09-10 11:48:20 -06:00
Ivan Gerasimov
497f5c44a6 8057744: (process) Synchronize exiting of threads and process [win]
Reviewed-by: dholmes, dcubed, sla
2014-09-10 09:52:41 -07:00
Yumin Qi
9b0811172b 8056930: Output host info under some condition for core dump
Output host name after java crashed for debug version.

Reviewed-by: dholmes, ccheung
2014-09-08 22:48:09 -07:00
Fredrik Arvidsson
07001d0332 8056242: Add function to return structured information about loaded libraries
Return structured information about loaded libraries.

Reviewed-by: sla, dsamersoff
2014-09-03 14:43:49 +02:00
Ivan Gerasimov
8d7b009834 8055338: (process) Add instrumentation to help diagnose JDK-6573254
Reviewed-by: dcubed, ohair, iklam, dholmes, sspitsyn, sla
2014-08-21 16:32:36 -07:00
Zhengyu Gu
181ebe98ef 8055236: Deadlock during NMT2 shutdown on Windows
Removed MemTracker::shutdown() call to avoid deadlock

Reviewed-by: minqi, ctornqvi
2014-08-20 15:58:45 -04:00
Zhengyu Gu
8a690a1250 6424123: JVM crashes on failed 'strdup' call
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose

Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Zhengyu Gu
f0cf82f571 8046598: Scalable Native memory tracking development
Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Serguei Spitsyn
b0367c3bea Merge 2014-07-18 23:53:59 -07:00
Coleen Phillimore
c9b2bc62c9 Merge 2014-07-14 10:15:21 -04:00
Frederic Parain
5a8cc5f33d 8047714: Fix for JDK-6546236 made Solaris os::yield() a no-op
Reviewed-by: hseigel, lfoltan
2014-07-08 08:04:06 -07:00
Goetz Lindenmaier
25f33c005d 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
Introduce and clean up umbrella headers for the files in the cpu subdirectories.

Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Daniel D. Daugherty
2876714328 8047104: cleanup misc issues prior to Contended Locking reorder and cache
Checkpoint misc cleanups for Contended Locking prior to first optimization bucket.

Reviewed-by: dholmes, sspitsyn, dice
2014-07-03 11:07:51 -07:00
Goetz Lindenmaier
f2051ed6fa 8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Jon Masamitsu
0e622bfc55 Merge 2014-06-25 20:41:16 -07:00
Frederic Parain
5507f2b476 8043630: Method os::yield_all() should be removed
Reviewed-by: dholmes, dsimms
2014-06-23 06:58:26 -07:00
Daniel D. Daugherty
7d153c461e 8046758: cleanup non-indent white space issues prior to Contended Locking cleanup bucket
Checkpoint do_space_filter.ksh cleanups for Contended Locking.

Reviewed-by: sspitsyn, coleenp
2014-06-17 12:54:01 -07:00
Goetz Lindenmaier
8e7c8f1d88 8044775: Improve usage of umbrella header atomic.inline.hpp
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Christian Thalinger
67ad89efd5 Merge 2014-05-22 16:26:05 -07:00
Ron Durbin
54da05d840 8028749: java -version crashes with 'fatal error: heap walk aborted with error 1'
Check_heap() should only call HeapWalk() when HeapLock() is successful.

Reviewed-by: ctornqvi, sla, dcubed
2014-05-15 10:44:20 -07:00
Goetz Lindenmaier
fb62773268 8042737: Introduce umbrella header prefetch.inline.hpp
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Harold Seigel
7ec22758dc 8030763: Validate global memory allocation
Add length checks where necessary

Reviewed-by: coleenp, mschoene
2014-07-14 12:43:50 +04:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Christian Tornqvist
7ee6324490 8033405: metaspace/stressHierarchy/stressHierarchy005 hangs in atexit handler
<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
2014-04-24 00:46:17 +02:00