113 Commits

Author SHA1 Message Date
Matthias Baesken
b2609808df 8195857: Remove os::is_headless_jre
Reviewed-by: goetz, dholmes
2018-01-28 19:49:06 -05:00
Kim Barrett
48e6e1e6c4 8195979: [Graal] crash in src/hotspot/share/runtime/mutex.cpp:1341 when Graal JIT is used
Reduce JNI oopstorage lock ranks to be more special than "special".

Reviewed-by: coleenp, acorn, eosterlund
2018-01-24 18:00:36 -05:00
Kim Barrett
2d847b1eb6 8195690: JNI GetObjectRefType doesn't handle NULL
Properly handle NULL, add some non-NULL preconditions.

Reviewed-by: dholmes, mdoerr
2018-01-23 14:27:10 -05:00
Goetz Lindenmaier
490d2ce747 8195776: [x86,sparc] A row of minor fixes and enhancements
Reviewed-by: kvn
2018-01-19 17:01:34 +01:00
Harold Seigel
e52d643ff5 8194086: Remove deprecated experimental flag UseCGroupMemoryLimitForHeap
Remove the option and the code that checks for it.

Reviewed-by: dholmes, lfoltan
2018-01-22 14:04:07 -05:00
Tom Rodriguez
99725d3ea6 8192004: InspectedFrame.materializeVirtualObjects only updates locals with new objects
Reviewed-by: kvn, sspitsyn, phh
2018-01-18 09:01:00 -08:00
Kim Barrett
e1356ec6cf 8194312: Support parallel and concurrent JNI global handle processing
Add OopStorage, change JNI gloabl/weak to use OopStorage.

Reviewed-by: coleenp, sspitsyn, eosterlund
2017-11-21 09:47:55 -05:00
Per Lidén
27cf4b91d1 8195000: Remove unused left-overs in arguments.hpp
Reviewed-by: stefank
2018-01-12 16:19:56 +01:00
Coleen Phillimore
1c41d1d3e0 8130039: Move the platform-specific [OS]Semaphore code
8130038: Unify the semaphore usage in os_xxx.cpp
8194763: os::signal_lookup is unused

Reviewed-by: dholmes, kbarrett
2018-01-11 18:42:36 -05:00
Thomas Schatzl
6e9f44c74c 8137099: G1 needs to "upgrade" GC within the safepoint if it can't allocate during that safepoint to avoid OoME
During a minor GC, if memory allocation fails, start a full GC within the same VM operation in the same safepoint. This avoids a race where the GC locker can prevent the full GC from occurring, and a premature OoME.

Co-authored-by: Axel Siebenborn <axel.siebenborn@sap.com>
Reviewed-by: ehelin, sjohanss, phh
2018-01-11 10:40:01 +01:00
Coleen Phillimore
ebd77628a4 8058259: compute_offset() is confusing for static fields
Remove most hard-coded offsets, have compute_offset function that takes a string and creates a TempNewSymbol, have static_field_addr() not add in InstanceMirrorKlass::offset_of_static_fields, ie use offset from find_field

Reviewed-by: kbarrett, sspitsyn
2018-01-08 09:46:31 -05:00
Jesper Wilhelmsson
0d68fdfec3 Merge 2018-01-05 22:02:20 +01:00
Kim Barrett
9e5bf18428 8194406: Use Atomic::replace_if_null
Reviewed-by: coleenp, dholmes
2018-01-04 18:18:18 -05:00
Lana Steuck
c8c8cd7238 Merge 2018-01-04 04:22:28 +00:00
Goetz Lindenmaier
f6c82cde45 8194482: Fix SIGSEGV in print_threads_compiling
Reviewed-by: kvn
2018-01-03 14:41:17 -08:00
Dean Long
bd7755ce1c 8191854: Null pointer dereference in methodData.hpp:462
Reviewed-by: kvn
2017-12-22 22:06:54 -08:00
Jesper Wilhelmsson
8650bbcf47 Merge 2017-12-20 20:55:07 +01:00
Robbin Ehn
5dee8bee72 8193514: UseMembar should not be obsoleted yet
Reviewed-by: dcubed, acorn, mdoerr
2017-12-18 12:11:01 +01:00
David Holmes
6a80c5906f 8193364: verify_special_jvm_flags should not cause an assertion failure when version is bumped
Reviewed-by: dcubed, coleenp
2017-12-15 23:43:35 -05:00
Mark Reinhold
0214135fde 8192833: JEP 322: Time-Based Release Versioning
Reviewed-by: erikj, ihse, iris, mchung, psandoz, tbell
2017-12-13 17:28:24 -08:00
Daniel D. Daugherty
230b5768d7 8191789: migrate more Thread-SMR stuff from thread.[ch]pp -> threadSMR.[ch]pp
Reviewed-by: stefank, coleenp, dholmes, gthornbr
2017-12-06 15:19:30 -05:00
Daniel D. Daugherty
b0138d81ad 8193135: get rid of redundant _smr_ prefix/infix in ThreadSMRSupport stuff
Reviewed-by: stefank, gtriantafill, coleenp
2017-12-08 15:24:47 -05:00
Razvan A Lupusoru
b96c85c640 8192846: Support cmov vectorization for float
Reviewed-by: kvn
2017-12-05 09:49:23 -08:00
Erik Gahlin
8fd0feffb9 8179083: Uninitialized notifier in Java Monitor Wait tracing event
Reviewed-by: mgronlun
2017-12-01 17:03:07 +01:00
Daniel D. Daugherty
7c89ccfeb8 8192810: EnableThreadSMRStatistics should be default off in release builds
Reviewed-by: gtriantafill, coleenp, eosterlund
2017-12-01 11:00:46 -05:00
Stefan Johansson
ea04c5cfb3 8191821: Finer granularity for GC verification
Reviewed-by: tschatzl, poonam, sangheki
2017-12-01 08:56:22 +01:00
Yasumasa Suenaga
6311c909f6 8190837: BasicType and BasicTypeSize should refer to HotSpot values
Reviewed-by: dholmes, jgeorge
2017-12-01 10:04:31 +09:00
Daniel D. Daugherty
b468df82f9 8191787: move private inline functions from thread.inline.hpp -> thread.cpp
Reviewed-by: coleenp, dholmes
2017-11-30 18:38:20 -05:00
Dean Long
15ea766de2 8191437: AOT doesn't work easily after thread local handshakes
Reviewed-by: kvn, rehn, aph
2017-11-30 10:40:48 -08:00
Jini George
42d3f8d610 8191324: SA cleanup -- part 2
Avoid redefinition of hotspot constants and ia64 code vestiges removal

Reviewed-by: sspitsyn, dholmes, coleenp
2017-11-30 21:24:52 +05:30
Jesper Wilhelmsson
d417fc4af1 Merge 2017-12-21 00:07:38 +01:00
Gary Adams
257f4fccd0 8180709: java -javaagent:agent.jar with run-time that does not contain java.instrument prints confusing error
Reviewed-by: cjplummer, sspitsyn
2017-12-20 13:41:40 -05:00
Coleen Phillimore
114c1a7a69 8152957: Improve specificity of safepoint logging to print safepoint type
Upgrade safepoint begin logs to Info logging, which has the reason.

Reviewed-by: dholmes, hseigel, zgu
2017-12-20 10:05:09 -05:00
Coleen Phillimore
1d0acb189a 8186903: Remove j-types from Atomic
Make jlong into int64_t, atomic_FN_long into atomic_FN_int64, make jbyte to u_char.

Reviewed-by: dholmes, dcubed
2017-12-19 06:29:17 -05:00
Robbin Ehn
f01d0f469c 8193514: UseMembar should not be obsoleted yet
Reviewed-by: dcubed, acorn, mdoerr
2017-12-18 12:11:01 +01:00
Harold Seigel
dd8b189097 8167372: Add code to check for getting oops while thread is in native
Add asserts that detect when a thread is getting oops while in native

Reviewed-by: coleenp, shade, jiangli, gtriantafill
2017-12-15 15:13:18 -05:00
Jesper Wilhelmsson
4db5d786b7 Merge 2017-12-15 16:54:17 +01:00
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Kishor Kharbas
3fc999a1fe 8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
Sub-task to be used for implementation of JEP 316: Support heap allocation on alternative memory devices

Reviewed-by: sangheki, tschatzl
2017-11-29 17:03:10 -08:00
Kim Barrett
678aafa42c 8191870: Remove badJNIHandle
Reviewed-by: coleenp, eosterlund, dcubed
2017-11-28 15:52:32 -05:00
Tobias Hartmann
6f31e2eada 8191996: VM startup fails with CodeCacheExpansionSize=32768 is outside the allowed range
Adjusted minimum value according to platform specific default values.

Reviewed-by: kvn
2017-11-28 19:02:23 +01:00
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Jiangli Zhou
61e736cbae 8188791: Move AppCDS from closed repo to open repo
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08:00
Tobias Hartmann
d54de52f13 8179026: Remove explicit code cache options processing
Removed explicit processing of code cache related options because generic processing already handles these.

Reviewed-by: kvn
2017-11-27 11:39:21 +01:00
Stefan Karlsson
dbc915dcb9 8191860: Add perfData.inline.hpp
Reviewed-by: ehelin, pliden
2017-11-24 15:21:30 +01:00
David Holmes
50f5bcbc03 8191707: Options with invalid values are incorrectly treated as obsolete and ignored
Reviewed-by: rehn, dcubed
2017-11-24 14:07:59 +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
Razvan Lupusoru
9b6a428212 8190800: Support vectorization of Math.sqrt() on floats
Reviewed-by: vlivanov, kvn
2017-11-22 14:43:37 +03:00
Igor Veresov
b6d123f660 8191683: Compile problem on ARM after JDK-8043070
Make nmethod::_state explicitly a signed char

Reviewed-by: thartmann
2017-11-22 01:12:23 -08:00
Ioi Lam
28b3c9f104 8191042: Deprecate VM option CheckEndorsedAndExtDirs
Reviewed-by: dholmes
2017-11-21 09:20:56 -08:00