724 Commits

Author SHA1 Message Date
Jon Masamitsu
cc223fcb91 8161029: GPL header missing comma after year
Reviewed-by: kbarrett, ehelin
2016-09-13 16:18:44 -07:00
Thomas Schatzl
c719b0171c 8164948: Initializing stores of HeapRegions are not ordered with regards to their use in G1ConcurrentMark
Add a storestore barrier before publishing newly initialized HeapRegion instances, and place a loadload barrier before use of members.

Reviewed-by: sjohanss, sangheki
2016-09-13 11:32:45 +02:00
Stefan Johansson
f6a7898995 8114823: G1 doesn't honor request to disable class unloading
Reviewed-by: tschatzl, mgerdin
2016-09-12 16:34:36 +02:00
Erik Helin
be6cc69504 8165455: Tracing events for G1 have incorrect metadata
Reviewed-by: egahlin, tschatzl
2016-09-08 12:30:38 +02:00
Thomas Schatzl
1075dcd335 8165313: Inserting freed regions during Free Collection Set serial phase takes very long on huge heaps
Sort the collection set in ascending order so that the optimization when adding free regions can be exploited.

Reviewed-by: sjohanss, mgerdin
2016-09-12 09:34:51 +02:00
Thomas Schatzl
c271d83599 8165292: The gc+task logging is repeated a lot, decreasing the usefulness of -Xlog:gc*=info
Separate number of workers used debugging information from adaptive worker sizing log messages.

Reviewed-by: ehelin, sjohanss, jmasa
2016-09-07 09:20:10 +02:00
Thomas Schatzl
e4f4b40488 8164936: G1 age table printout contains contents from previous GC
Split tenuring threshold update and printing into two separate parts so that they can be used independently.

Reviewed-by: jmasa, sangheki
2016-09-02 09:49:10 +02:00
Kirill Zhaldybin
87d30c0c7d 8164039: Convert test_memset_with_concurrent_readers to GTest
Reviewed-by: iignatyev, kbarrett
2016-09-01 20:46:40 +03:00
Kirill Zhaldybin
d871b35f40 8164230: Convert TestCodeCacheRemSet_test to GTest
Reviewed-by: mgerdin, dfazunen
2016-08-29 20:15:12 +03:00
Kirill Zhaldybin
d65aa31fd5 8164028: Convert TestPredictions_test to GTest
Reviewed-by: jwilhelm, dfazunen, ehelin
2016-08-22 16:43:56 +03:00
Kirill Zhaldybin
fe2f936875 8163860: Convert TestOldFreeSpaceCalculation_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-08-15 13:18:35 +03:00
Kim Barrett
66706edf15 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:48:16 -04:00
Thomas Schatzl
5258f6573c 8155917: Memory access in free regions during G1 full gc causes regressions in SPECjvm2008 scimark.fft,lu,sor,sparse with 9+116 on Linux-x64
Do not unnecessarily touch the memory of free regions during the compaction phase in G1 full gc causing some OSes to allocate physical memory for them, decreasing performance in some situations.

Reviewed-by: mgerdin, jmasa
2016-08-30 09:17:49 +02:00
Alejandro Murillo
7b50aee93b Merge 2016-08-26 10:02:47 -07:00
Erik Gahlin
c98e599afa 8164523: Clean up metadata for event based tracing
Reviewed-by: mlarsson, mgronlun
2016-08-23 19:21:48 +02:00
Jesper Wilhelmsson
4fc1987255 8164124: [BACKOUT] G1 does not implement millis_since_last_gc which is needed by RMI GC
Reviewed-by: jprovino
2016-08-19 17:19:47 +02:00
Joseph Provino
08bdecf0c4 8071770: G1 does not implement millis_since_last_gc which is needed by RMI GC
G1 does not return a correct value for the CollectedHeap::millis_since_last_gc

Reviewed-by: jmasa, tschatzl
2016-08-02 16:39:33 -04:00
David Holmes
5f1f4489ac 8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Remove atomic.inline.hpp and move the contents back into atomic.hpp

Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Jon Masamitsu
d618ceab2e 8159073: : Error handling incomplete when creating GC threads lazily
Reviewed-by: drwhite, tschatzl, sangheki
2016-06-08 14:11:51 -07:00
Thomas Schatzl
2313844e20 8161993: G1 crashes if active_processor_count changes during startup
Use the initial active processor count for memory initialization instead of the current active one.

Reviewed-by: dholmes, mgerdin
2016-07-26 11:04:20 +02:00
Goetz Lindenmaier
da3339948e 8161258: Simplify including platform files
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.

Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Erik Helin
b630a3ff47 8159464: DumpHeap.java hits assert in G1 code
Reviewed-by: mgerdin, tschatzl
2016-07-21 14:55:54 +02:00
Jon Masamitsu
631036a07b 8155263: DisableStartThread should not be applied to GC worker threads
Reviewed-by: tschatzl, sangheki
2016-07-06 13:23:10 -07:00
Thomas Schatzl
5075c7b9a0 8157459: G1 IHOP JFR event attribute with incorrect content type
Use PERCENTAGE instead of BYTES64 data type for the affected attributes.

Reviewed-by: ehelin, sangheki
2016-07-19 09:30:30 +02:00
Thomas Schatzl
ada5ab192f 8034842: Parallelize the Free CSet phase in G1
Reviewed-by: jmasa, ehelin
2016-07-19 10:31:41 +02:00
Thomas Schatzl
1244572841 8160897: Concurrent mark mark stack memory allocation leaks memory
Fix and clean up concurrent mark mark stack memory allocation.

Reviewed-by: jmasa, sangheki
2016-07-15 13:33:44 +02:00
Jesper Wilhelmsson
f2490e9194 8024137: Flags should be set using the proper macro
Reviewed-by: sangheki, drwhite, jmasa
2016-06-21 19:37:30 +02:00
Jesper Wilhelmsson
464bfe497d 8048093: Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
Reviewed-by: kvn, gziemski
2016-06-21 19:35:39 +02:00
Jon Masamitsu
8821cffac1 8157240: GC task trace logging is incomprehensible
Reviewed-by: tschatzl, redestad
2016-05-19 13:59:50 -07:00
Thomas Schatzl
7fd90042ca 8159978: Use an array to store the collection set regions instead of linking through regions
Fix a potential problem with memory visibility in the sampling thread in the collection set by changing the way we store the collection set.

Reviewed-by: ehelin, jmasa
2016-07-06 11:22:55 +02:00
Derek White
2e1b011569 8158946: btree009 fails with assert(s > 0) failed: Bad size calculated
Set oop_size before setting _klass

Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2016-07-05 15:34:06 -04:00
Per Lidén
3ad9aa0f10 8159974: G1 String deduplication logging not aligned with the rest of G1
Reviewed-by: stefank, tschatzl
2016-07-04 11:27:11 +02:00
Yasumasa Suenaga
8ea7496925 8160356: invalid suffix on literal warning is occurred with GCC 6
Add whitespace separation

Reviewed-by: kbarrett, kvn
2016-06-30 19:16:14 -04:00
Per Lidén
e7a6ecea86 8158871: Long response times with G1 and StringDeduplication
Reviewed-by: stefank, sjohanss, tschatzl, dfazunen
2016-06-27 09:35:18 +02:00
Alejandro Murillo
080739ce03 Merge 2016-06-23 17:11:18 -07:00
Alejandro Murillo
f7095d870c Merge 2016-06-23 17:07:27 -07:00
Erik Helin
109e24d96e 8155099: Remove duplicate comments from G1Policy
Reviewed-by: jmasa, drwhite
2016-06-22 14:03:01 +02:00
Thomas Schatzl
423717c156 8152438: Threads may do significant work out of the non-shared overflow buffer
Before processing an element in the non-shared overflow buffer, try to push it into the local shared buffer to keep it full.

Reviewed-by: jmasa, ehelin, sjohanss
2016-06-22 10:34:01 +02:00
Per Lidén
b8668ac945 8159350: G1 String deduplication logging malformed
Reviewed-by: stefank, sjohanss
2016-06-15 10:46:20 +02:00
Erik Helin
19c8ab3cdb 8159045: Remove const from methods returning size_t in threadLocalAllocBuffer.hpp
Reviewed-by: sjohanss, jmasa
2016-06-08 13:24:36 +02:00
Cheleswer Sahu
93043ecb8f 8150900: Implement diagnostic_pd
Reviewed-by: twisti, gziemski, kevinw
2016-05-24 16:02:45 +05:30
Jon Masamitsu
08962e6714 8157373: Active workers should not be reset in AbstractWorkGang initialize()
Reviewed-by: kbarrett, tschatzl, jwilhelm
2016-05-19 14:53:18 -07:00
Jon Masamitsu
35ba62637e 8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
Reviewed-by: sjohanss, sangheki
2016-06-10 09:22:09 -07:00
Vladimir Kozlov
96627b1708 Merge 2016-06-10 20:28:46 +02:00
Vladimir Kozlov
1246644d4d Merge 2016-06-10 10:13:30 -07:00
Stefan Karlsson
d019f34077 8159237: PreservedMarks verification code fails
Reviewed-by: lmesnik, jwilhelm
2016-06-10 14:06:36 +02:00
Leonid Mesnik
84cab6c56f 8156032: Clean up parallel GC specific code from vm/gc/shared/preservedMarks.cpp
Reviewed-by: stefank, tschatzl
2016-06-09 16:52:32 +03:00
Stefan Johansson
09caec497d 8149085: IntegrationTest1.java fails intermittently due to use of semi-initialized TLAB
Reviewed-by: ehelin, mgerdin
2016-06-08 16:29:12 +02:00
Tobias Hartmann
35f9db149b 8156760: VM crashes if -XX:-ReduceInitialCardMarks is set
Fixed several compiler crashes with disabled ReduceInitialCardMarks.

Reviewed-by: roland, minqi, dlong, tschatzl, kvn
2016-06-02 08:46:52 +02:00
Kim Barrett
83dbb0faba 8156548: gc/gctests/StringInternSyncWithGC2 fails with Test level exit status: 151
Avoid repeated verification.

Reviewed-by: jmasa, drwhite
2016-05-25 13:46:05 -04:00