32248 Commits

Author SHA1 Message Date
Erik Helin
ec7659c972 8134504: Remove usage of EvacuationInfo from G1CollectorPolicy
Reviewed-by: mgerdin, jwilhelm
2015-08-27 16:28:05 +02:00
David Holmes
10afc2dfd2 8133646: Internal Error: x86/vm/macroAssembler_x86.cpp:886 DEBUG MESSAGE: StubRoutines::call_stub: threads must correspond
Reviewed-by: kvn, coleenp, dcubed
2015-08-26 18:59:08 -04:00
Jiangli Zhou
9ee2b211f9 8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
Handle shared string mapping failures.

Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
Igor Ignatyev
24ddd9ba7c Merge 2015-08-25 21:05:26 +02:00
Coleen Phillimore
110f1d1a32 Merge 2015-08-25 19:06:55 +02:00
Coleen Phillimore
2a37882c1c Merge 2015-08-25 17:30:14 +02:00
Gerard Ziemski
e085f49adb 8134239: compiler/arguments/CheckCICompilerCount.java still fails
Compiler team updated the test by adding a new test case, but due to merging timing it was still using the old constraint error message format, which needed updating

Reviewed-by: ctornqvi, hseigel
2015-08-24 16:17:15 -05:00
Rachel Protacio
d905ab3ec9 8133561: linux thread id should be reported in decimal in the error reports now
Linux thread id error reports changed back to decimal

Reviewed-by: hseigel, ctornqvi, coleenp
2015-08-24 15:41:56 -04:00
Thomas Schatzl
494872e535 8133456: HeapRegionManager::shrink_by() iterates suboptimally across regions
Reviewed-by: brutisso, tbenson
2015-08-24 16:32:50 +02:00
Thomas Schatzl
472a3333a8 8067336: Allow that PLAB allocations at the end of regions are flexible
PLAB allocations may return a buffer that is between minimum size (current allocation) and the desired size. This allows removes a large amount of fragmentation at the end of regions.

Reviewed-by: tbenson, mgerdin
2015-08-24 16:27:41 +02:00
David Holmes
dd71c38c37 Merge 2015-08-25 00:26:10 -04:00
Christoph Langer
029c5bbc36 8130910: hsperfdata file is created in wrong directory and not cleaned up if /tmp/hsperfdata_<username> has wrong permissions
Add check for fchir() failure and disable shared PerfMemory in that case.

Reviewed-by: dcubed, simonis, gthornbr
2015-08-20 10:58:57 -07:00
Coleen Phillimore
96644d2fb6 Merge 2015-08-20 17:39:43 +02:00
Coleen Phillimore
8831b43d28 Merge 2015-08-20 17:36:00 +02:00
Coleen Phillimore
6cb369c903 8133951: Zero interpreter asserts in stubRoutines.cpp
Allow zero sized code buffer when checking if there's enough remaining size

Reviewed-by: kvn
2015-08-20 11:18:51 -04:00
Thomas Schatzl
c91c77abd2 8067339: PLAB reallocation might result in failure to allocate object in that recently allocated PLAB
Properly size the PLAB to make sure that the object to allocate always has enough space in it.

Reviewed-by: mgerdin, brutisso
2015-08-20 15:17:43 +02:00
Thomas Schatzl
041c76d48b 8073146: G1 merges thread local age tables too early with global age table
Move merging of age and survivor table to the end of GC.

Reviewed-by: mgerdin, david
2015-08-20 15:17:43 +02:00
Thomas Schatzl
6cca258181 8040162: Avoid reallocating PLABs between GC phases in G1
Allocate G1ParScanThreadState at the start of GC and only deallocate at the end of GC. This automatically keeps the current PLAB intact without flushing it (and loosing lots of memory) for every reallocation.

Reviewed-by: david, mgerdin
2015-08-20 15:17:43 +02:00
Thomas Schatzl
4a849fb21c 8133530: Add JFR event for evacuation statistics
Introduce two new JFR events for young/old generation allocation statistics based on previous changes.

Reviewed-by: ehelin, mgerdin
2015-08-20 15:17:41 +02:00
Roland Westrelin
33b2496286 Merge 2015-08-20 09:31:28 +02:00
Thomas Schatzl
0ade675b8b 8073013: Add detailed information about PLAB memory usage
Track and provide information about direct allocation, region end waste and failure waste for G1.

Reviewed-by: jmasa, david, ehelin, mgerdin
2015-08-19 13:59:39 +02:00
Thomas Schatzl
43a6ce61de 8133470: Uses of Atomic methods in plab.hpp should be moved to .inline.hpp file
Fix include file dependencies according to general guidelines for plab.hpp

Reviewed-by: ehelin, mgerdin
2015-08-19 13:50:50 +02:00
Thomas Schatzl
8c2da662ff 8003237: G1: Reduce unnecessary (and failing) allocation attempts when handling an evacuation failure
Remember for every generation whether the memory for that generation has already been exhausted. If so, do not try to get a new region for these generations. Further, if the last generation is full, early exit from copy_to_survivor_space.

Reviewed-by: jmasa, brutisso
2015-08-19 13:47:40 +02:00
Erik Helin
9bc2e29405 8133825: Remove the class G1CollectorPolicyExt
Reviewed-by: jwilhelm, ecaspole
2015-08-20 10:27:04 +02:00
Erik Helin
6ad40faac5 8133821: Refactor initialization of the heap and the collector policy
Reviewed-by: pliden, tschatzl
2015-08-20 08:42:25 +02:00
Daniel D. Daugherty
513aa02851 8133537: clarify position of unlock options in error messages
Reviewed-by: coleenp, dholmes, coffeys
2015-08-19 11:11:06 -07:00
Eric Caspole
3c41a37bd8 8133349: CMS: Assert failed: Ctl pt invariant
_survivor_chunk_array should be sized based on PLAB::min_size() not ThreadLocalAllocBuffer::min_size()

Reviewed-by: tschatzl, jwilhelm
2015-08-18 14:04:24 -04:00
Jesper Wilhelmsson
b2a4dbc30a 8130308: Too low memory usage in TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, brutisso
2015-08-18 17:32:10 +02:00
Jesper Wilhelmsson
0edc019938 8133669: Remove unused code in Arguments
8133455: VM ignores setting of the -XX:MemoryRestriction flag

Reviewed-by: dholmes, kbarrett
2015-08-17 13:55:02 +02:00
Dmitry Samersoff
ee8e426c51 Merge 2015-08-17 10:53:11 +00:00
Dmitry Samersoff
6758393ebd Merge 2015-08-17 12:43:45 +03:00
David Lindholm
4445cbb273 8133553: Running with -XX:+UseParallelGC -XX:OldSize=30k crashes jvm
Reviewed-by: jwilhelm, sjohanss
2015-08-17 10:43:11 +02:00
Gerard Ziemski
a00b32c815 8133678: test fails due to 'CICompilerCount=0 must be at least 1' missing from stdout/stderr
We changed the constraint error message formatting for CICompilerCount, but forgot to change the corresponding test.

Reviewed-by: kbarrett, dcubed
2015-08-16 09:33:52 -05:00
Alejandro Murillo
78fd2e42c6 Merge 2015-08-13 15:50:47 -07:00
J. Duke
d9b43a9e2c Merge 2017-07-05 20:45:52 +02:00
J. Duke
9bf2ffd162 Merge 2017-07-05 20:45:49 +02:00
J. Duke
1b5af609f5 Merge 2017-07-05 20:45:44 +02:00
J. Duke
d54587e380 Merge 2017-07-05 20:45:41 +02:00
J. Duke
5d72d63c68 Merge 2017-07-05 20:45:35 +02:00
J. Duke
73d4205d35 Merge 2017-07-05 20:45:32 +02:00
J. Duke
9f478f11c4 Merge 2017-07-05 20:45:28 +02:00
J. Duke
b1f413d285 Merge 2017-07-05 20:45:16 +02:00
J. Duke
2c4538edd5 Added tag jdk9-b77 for changeset c25e882cee96 2017-07-05 20:45:01 +02:00
J. Duke
ae676b44c4 Merge 2017-07-05 20:45:01 +02:00
J. Duke
0f76c8f754 Merge 2017-07-05 20:44:57 +02:00
J. Duke
ea2063627d Merge 2017-07-05 20:44:54 +02:00
J. Duke
6eca7e0e2d Merge 2017-07-05 20:44:51 +02:00
J. Duke
ae2f690e2a Merge 2017-07-05 20:44:47 +02:00
J. Duke
13f7e9c438 Merge 2017-07-05 20:44:43 +02:00
J. Duke
45f3171390 Merge 2017-07-05 20:44:40 +02:00