234 Commits

Author SHA1 Message Date
Coleen Phillimore
aa51ac19b3 8196199: Remove miscellaneous oop comparison operators
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: hseigel, lfoltan
2018-02-01 13:30:53 -05:00
Erik Helin
73388668cd 8195158: Concurrent System.gc() is "upgraded" to stop-the-world System.gc()
Reviewed-by: sjohanss, eosterlund
2018-01-17 19:05:58 +01:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Thomas Schatzl
b0e4bce398 8129440: G1 crash during concurrent root region scan
Make concurrent memory accesses to oops on the heap volatile to avoid reloading by the compiler duplicating oop loading code.

Reviewed-by: ehelin, eosterlund
2018-01-11 11:28:51 +01: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
Erik Österlund
c5f5601b1c 8193063: Enabling narrowOop values for RawAccess accesses
Reviewed-by: pliden, kbarrett
2018-01-10 18:04:56 +01:00
Kim Barrett
9e5bf18428 8194406: Use Atomic::replace_if_null
Reviewed-by: coleenp, dholmes
2018-01-04 18:18:18 -05:00
Leo Korinth
3c55f378ca 8133805: Remove the bot_updates parameter from G1Allocator's allocation methods
Reviewed-by: tschatzl, sjohanss
2017-12-06 11:11:16 +01:00
Roland Westrelin
29bab311ab 8192908: -XX:+UseCountedLoopSafepoints alone doesn't disable strip mining with G1
-XX:+UseCountedLoopSafepoints should disable loop strip mining.

Reviewed-by: kvn, thartmann
2017-12-07 15:52:46 +01:00
Stefan Johansson
ea04c5cfb3 8191821: Finer granularity for GC verification
Reviewed-by: tschatzl, poonam, sangheki
2017-12-01 08:56:22 +01:00
Roman Kennke
3f3f0cb67e 8191564: Refactor GC related servicability code into GC specific subclasses
Reviewed-by: ehelin, eosterlund
2017-11-30 13:40:07 +01:00
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Derek White
ded2479840 8188877: Improper synchronization in offer_termination
Reviewed-by: kbarrett, tschatzl, aph
2017-11-28 12:23:03 +01: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
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
Martin Doerr
0ddc8c6900 8195691: AIX build broken after 8194312
Reviewed-by: kbarrett, goetz
2018-01-22 12:04:12 +01: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
Erik Österlund
3a7a71981a 8194741: Refactor oops in constant pool from CDS to use the Access API
Reviewed-by: coleenp, jiangli
2018-01-10 22:43:42 +01:00
Sangheon Kim
8a150bbd05 8178497: Bug in MutableNUMASpace::ensure_parsability
Changed problematic variable type from intptr_t to HeapWord*

Reviewed-by: tschatzl, sjohanss
2017-11-27 13:19:08 -08:00
Per Lidén
bfc0314e87 8191864: Provide a public destructor for WorkGang
Reviewed-by: stefank, sjohanss
2017-11-27 13:50:03 +01:00
Erik Helin
01e9cb7e23 8080345: With perm gen gone, perfdata counter sun.gc.policy.generations should be 2, not 3
Co-authored-by: Y. Srinivas Ramakrishna <ysr1729@gmail.com>
Reviewed-by: sjohanss, tschatzl
2017-11-27 10:51:31 +01:00
Stefan Karlsson
677e5bdaed 8191861: Move and refactor hSpaceCounters
Reviewed-by: pliden, ehelin, rkennke
2017-11-24 15:48:01 +01:00
Stefan Karlsson
dbc915dcb9 8191860: Add perfData.inline.hpp
Reviewed-by: ehelin, pliden
2017-11-24 15:21:30 +01:00
Daniel D. Daugherty
4fd0863d06 Merge 2017-11-23 19:42:56 -08:00
Daniel D. Daugherty
e2d4899be6 Merge 2017-11-23 06:01:57 -08:00
Stefan Johansson
d21c547b0e 8189733: Cleanup Full GC setup and tear down
Reviewed-by: tschatzl, ehelin
2017-11-23 09:53:53 +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
Thomas Schatzl
faff99f2fc 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
Reviewed-by: sangheki, sjohanss
2017-11-23 15:51:06 +01:00
Thomas Schatzl
c5ce7408b3 8182050: assert(_whole_heap.contains(p)) failed: Attempt to access p out of bounds of card marking array's _whole_heap
Ignore zero-sized MemRegions to invalidate in G1SATBCardTableLoggingModRefBS::invalidate()

Reviewed-by: ehelin, sjohanss
2017-11-23 15:51:06 +01:00
Leo Korinth
d1cbd17c2c 8190408: Run G1CMRemarkTask with the appropriate amount of threads instead of starting up everyone
Reviewed-by: tschatzl, sjohanss
2017-11-13 15:28:17 +01:00
Roman Kennke
6765ebd98f 8191562: Missing include in gcArguments.cpp breaks minimal JVM build
Reviewed-by: mdoerr, ehelin
2017-11-21 12:48:17 +01:00
Erik Helin
26aa579a78 8182284: G1Analytics uses uninitialized fields
Reviewed-by: tschatzl, sjohanss
2017-11-21 08:33:54 +01: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
Erik Österlund
3e5e2f03b1 8189871: Refactor GC barriers to use declarative semantics
Reviewed-by: pliden, rkennke, coleenp, dholmes, kbarrett, stefank
2017-11-20 13:07:44 +01:00
Thomas Schatzl
341c2c1956 8186480: Remove warning when AssumeMP is true and ergonomics determines to use one worker thread
Reviewed-by: shade
2017-11-20 10:15:34 +01:00
Roman Kennke
c45098982f 8189389: Move heap creation into GC interface
Reviewed-by: pliden, eosterlund
2017-11-16 12:53:29 +01:00
Roman Kennke
d30e9d4a42 8191424: Missing include in gcArguments.cpp
Reviewed-by: eosterlund, kbarrett
2017-11-16 17:10:21 +01:00
Martin Doerr
192ac07048 8191337: GCC 4.8 build broken after 8186571
Reviewed-by: kbarrett, sjohanss
2017-11-16 10:20:18 +01:00
Roman Kennke
09a9ab8f41 8189171: Move GC argument processing into GC specific classes
Reviewed-by: pliden, eosterlund
2017-11-07 11:58:52 +01:00
Stefan Johansson
ed950d3513 8189734: Cleanup MarkSweep when G1 dependency is gone
Reviewed-by: sangheki, tschatzl
2017-11-15 17:05:28 +01:00
Stefan Johansson
6929e0f05a 8186571: Implementation: JEP 307: Parallel Full GC for G1
Improve G1 worst-case latencies by making the full GC parallel.

Reviewed-by: tschatzl, sangheki, ehelin
2017-11-14 11:33:23 +01:00
Roman Kennke
04e375658c 8183542: Factor out serial GC specific code from GenCollectedHeap into its own subclass
Reviewed-by: kbarrett, jgeorge
2017-10-25 10:05:17 +02:00
Stefan Johansson
09c2ca5809 8190711: Assert in G1MMUTracker due to concurrent modification
Reviewed-by: tschatzl, rehn, sangheki
2017-11-09 10:11:19 +01:00
Jini George
02b4fc7985 8189798: SA cleanup - part 1
Avoid varible redefinitions in SA, modify SA varible names to match hotspot ones

Reviewed-by: sspitsyn, coleenp, sballal
2017-11-09 12:12:32 +05:30
Jamsheed Mohammed C M
10a1edcc22 8152470: Add COMPILER2_OR_JVMCI definition
Defined(COMPILER2) || INCLUDE_JVMCI changed replaced with COMPILER2_OR_JVMCI

Reviewed-by: kvn
2017-11-06 21:28:03 -08:00
Doug Simon
f37bbe430d 8188102: [JVMCI] Convert special JVMCI oops in nmethod to jweak values
Reviewed-by: never, kvn, kbarrett
2017-11-06 12:53:55 +01:00
Thomas Schatzl
5815fc9d54 8140255: Move the management of G1YoungRemSetSamplingThread from G1ConcurrentRefine
Reviewed-by: sjohanss, sangheki
2017-11-06 14:25:18 +01:00