1128 Commits

Author SHA1 Message Date
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
Erik Österlund
0fb7dffb83 8195103: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: kbarrett, tschatzl
2018-01-10 22:48:27 +01:00
Calvin Cheung
a0c0b250cd 8193846: Obsolete the VM option UseUTCFileTimestamp
Also set the "expires in" version to 12

Reviewed-by: iklam, dholmes
2018-02-12 11:10:10 -08:00
Kim Barrett
7f0f329daf 8194691: Cleanup unnecessary casts in Atomic/OrderAccess uses
Removed unnecessary casts.

Reviewed-by: coleenp, tschatzl
2018-02-11 03:12:15 -05:00
Jesper Wilhelmsson
fb8bca78ee 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
Martin Doerr
201a232a23 8194258: PPC64 safepoint mechanism: Fix initialization on AIX and support SIGTRAP
Use mmap on AIX to allocate protected page. Use trap instructions for polling if UseSIGTRAP is enabled.

Reviewed-by: rehn, goetz
2018-01-10 11:09:55 +01:00
Abhijit Saha
f96c816c07 Merge 2018-01-12 15:05:35 -08: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
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
Per Lidén
168e8b2abe 8198270: Remove dangerous assert in HandleArea::oops_do()
Reviewed-by: coleenp
2017-12-08 13:47:08 +01:00
Coleen Phillimore
28f0646ef1 8198311: Avoid uses of global malloc and free
Reviewed-by: kvn, kbarrett, dcubed, zgu
2018-02-18 13:48:01 -05:00
Jean Christophe Beyler
e8fc01629a 8194084: Obsolete FastTLABRefill and remove the related code
Remove all FastTLABRefill code and flag

Reviewed-by: mdoerr, drwhite, coleenp
2018-02-16 14:23:30 -08:00
Per Lidén
75c57161f1 8197994: Move JavaThread::initialize_queues() logic to G1SATBCardTableLoggingModRefBS
Reviewed-by: tschatzl, eosterlund
2018-02-16 12:18:09 +01:00
Per Lidén
b2de114d80 8197993: Remove last use of JavaThread::flush_barrier_queues()
Reviewed-by: tschatzl, eosterlund
2018-02-16 12:18:09 +01: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
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Coleen Phillimore
7660d97e2e 7179701: MaxJavaStackTraceDepth of zero is not handled correctly/consistently in the VM
Value of zero means unlimited stack trace.  If you want no stack trace, use -XX:-StackTraceInThrowable

Reviewed-by: dholmes, hseigel
2018-01-31 11:07:55 -05:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Kim Barrett
72b9968396 8194898: Move OopStorage inline definitions to an .inline.hpp
Reviewed-by: coleenp, hseigel
2018-01-29 16:51:21 -05:00
Matthias Baesken
b2609808df 8195857: Remove os::is_headless_jre
Reviewed-by: goetz, dholmes
2018-01-28 19:49:06 -05:00