420 Commits

Author SHA1 Message Date
Bob Vandette
0b97a1bcbe 8193710: jcmd -l and jps commands do not list Java processes running in Docker containers
Reviewed-by: mchung, dholmes, cjplummer
2018-01-22 15:05:03 -05:00
Ioi Lam
a3cb6e9204 8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared
Use a single range check with MetaspaceObj::_shared_metaspace_{base,top}

Reviewed-by: jiangli, redestad, shade
2018-01-16 16:57:53 -08:00
Jesper Wilhelmsson
3c2e5acfce Merge 2018-01-13 02:56:22 +01:00
Per Lidén
1e7b0b326d 8191862: Warn about UseNUMA/UseLargePages only when using ParallelGC
Reviewed-by: stefank, sjohanss
2017-11-27 13:34:00 +01:00
Daniel D. Daugherty
0dff96ff0b 8167108: inconsistent handling of SR_lock can lead to crashes
Add Thread Safe Memory Reclamation (Thread-SMR) mechanism.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: coleenp, dcubed, dholmes, eosterlund, gthornbr, kbarrett, rehn, sspitsyn, stefank
2017-11-22 17:54:50 -08:00
Calvin Cheung
e7ff0665e4 8188122: Path length limits on Windows leads to obscure class loading failures
Used the unicode version of windows API's to handled long paths and avoid using the stat() function.

Reviewed-by: stuefe, iklam
2017-11-21 09:49:52 -08:00
David Holmes
687c2c5412 8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
Reviewed-by: stuefe, dcubed
2017-11-20 15:56:32 -05:00
Bob Vandette
20a8de0f70 8146115: Improve docker container detection and resource configuration usage
Reviewed-by: dholmes, kbarrett, phh
2017-11-15 10:34:17 -05:00
Jamsheed Mohammed C M
4cd55d3fd3 6415680: (bf) MappedByteBuffer.get() can provoke crash with EXCEPTION_IN_PAGE_ERROR
Made changes in topLevelExceptionFilter for handling unsafe single value invalid memory access failures, equivalent of JDK-4454115.

Reviewed-by: dholmes, dlong
2017-11-15 00:49:57 -08:00
Martin Doerr
85dc1c0776 8191212: AIX: Build and polling page allocation broken after 8189941
Reviewed-by: stuefe
2017-11-14 16:45:27 +01:00
Robbin Ehn
104ecb2dd1 8189941: Implementation JEP 312: Thread-local handshake
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.

Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Goetz Lindenmaier
963e8da9b7 8185712: [windows] Improve native symbol decoder
Reviewed-by: goetz, iklam, zgu
2017-09-20 15:12:11 +02:00
Thomas Stuefe
25f56657aa 8187230: [aix] Leave OS guard page size at default for non-java threads instead of explicitly setting it
Reviewed-by: goetz, dholmes
2017-09-07 15:40:20 +02:00
Erik Helin
3f2081a618 8187667: Disable deprecation warning for readdir_r
Reviewed-by: dholmes, sjohanss
2017-09-18 15:06:28 +02:00
David Holmes
2d8670326d 8185529: JCK api/java_lang/Object/WaitTests failed with jdk10/hs nightly
Reviewed-by: dcubed, ccheung
2017-10-09 01:23:13 -04:00
Erik Österlund
394e6a8318 8186838: Generalize Atomic::inc/dec with templates
Reviewed-by: kbarrett, coleenp, dholmes
2017-09-26 14:05:27 +02:00
Thomas Stuefe
2f137ced94 8187028: [aix] Real thread stack size may be up to 64K smaller than requested one
Reviewed-by: goetz
2017-09-26 11:25:34 +02:00
Mikael Gerdin
04b79fa8f3 8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2
Reviewed-by: dholmes, stuefe
2017-09-25 21:25:46 -04:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00