8959 Commits

Author SHA1 Message Date
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
Ed Nevill
10c3342331 8133842: aarch64: C2 generates illegal instructions with int shifts >=32
Fix logical operatations combined with shifts >= 32

Reviewed-by: kvn, aph, adinn
2015-08-20 09:40:08 +00: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
Kim Barrett
7706e36194 8072817: CardTableExtension kind() should be BarrierSet::CardTableExtension
Use BarrierSet::CardTableForRS where needed, and update concrete bs tags.

Reviewed-by: jwilhelm, jmasa
2015-08-18 17:48:35 -04:00
Jesper Wilhelmsson
49fb91407d 8134626: Misc cleanups after generation array removal
Reviewed-by: david, dholmes, tschatzl
2015-08-18 21:32:21 +02: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
Roland Westrelin
b7b1b2778c 8131969: jit/FloatingPoint/gen_math/Loops05 assert(2 <= size && size <= 16) failed: update low bits table
Assert in register allocation code when vector Phi for a loop is processed because code assumes all inputs already processed

Reviewed-by: kvn
2015-08-18 16:10:34 +02:00
Vladimir Kozlov
ef827906e9 8133984: print_compressed_class_space() is only defined in 64-bit VM
Define method's empty body in 32-bit VM.

Reviewed-by: coleenp
2015-08-19 17:59:00 -07: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
Lana Steuck
25eb225a1c Merge 2015-08-13 14:15:23 -07:00
David Katleman
053ddb237a Added tag jdk9-b77 for changeset f057c3f8e4d2 2015-08-13 12:20:05 -07:00
Rickard Bäckman
a4777426de Merge 2015-08-13 19:36:54 +02:00
Andrew Dinn
96413b5dac 8078743: AARCH64: Extend use of stlr to cater for volatile object stores
The current use of stlr on AArch64 to implement volatile stores needs to be extended to cater for object stores.

Reviewed-by: kvn, aph, enevill
2015-08-11 10:25:24 -04:00
Ed Nevill
4f5be2ee49 8133352: aarch64: generates constrained unpredictable instructions
Fix generation of unpredictable STXR Rs, Rt, [Rn] with Rs == Rt

Reviewed-by: kvn, aph, adinn
2015-08-18 12:40:22 +00:00
Ed Nevill
1c9f1ea099 8133935: aarch64: fails to build from source
Add inlucde of oops/oop.inline.hpp to fix build

Reviewed-by: coleenp
2015-08-19 11:59:02 +00:00
Zoltan Majo
0d7ee212ea 8133625: src/share/vm/opto/compile.hpp:96: error: integer constant is too large for ‘long’ type
Wrap constant causing the failure into into CONST64(). Update comments.

Reviewed-by: kvn
2015-08-19 11:59:00 +02:00
Zoltan Majo
6d858b63cb Merge 2015-08-19 10:14:04 +02:00
Zoltan Majo
1e55e60cb1 8076373: In 32-bit VM interpreter and compiled code process NaN values differently
Change interpreter to use XMM registers on x86_32 if they are available. Add stubs for methods transforming from/to int/long float/double.

Reviewed-by: kvn, mcberg
2015-08-19 08:55:18 +02:00
Roland Westrelin
df82d96834 8133599: Unsafe.getAndSetObject() is no longer intrinsified by c2
Off by 1 error in c2 intrinsic filtering logic

Reviewed-by: dlong, kvn, shade
2015-08-14 00:28:45 +02:00
Roland Westrelin
0baf2f7e8a 8130847: Cloned object's fields observed as null after C2 escape analysis
Eliminated instance/array written to by an array copy variant must be correctly initialized when reallocated at a deopt

Reviewed-by: kvn, vlivanov
2015-08-15 02:54:18 +02:00
Aleksey Shipilev
63a173e2c4 8019968: Reference CAS induces GC store barrier even on failure
Reviewed-by: kvn, adinn, roland
2015-08-12 09:58:39 +03:00
Aleksey Shipilev
f6c7ab6565 8131682: C1 should use multibyte nops everywhere
Reviewed-by: dlong, goetz, adinn, aph, vlivanov
2015-08-11 12:24:26 +03:00
Vlad Ureche
645a55a98f 8011858: Use Compile::live_nodes() instead of Compile::unique() in appropriate places
Reviewed-by: kvn, vlivanov
2015-08-10 10:39:19 -07:00
Staffan Larsen
e33d8d62ca Merge 2015-08-10 13:34:53 +00:00
Staffan Larsen
781b67580f 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:54 +02:00
Dmitry Samersoff
7a36a80c84 Merge 2015-08-10 13:56:27 +03:00
Dmitry Dmitriev
d364e5d191 8132892: Memory must be freed after calling Arguments::set_sysclasspath function
Free memory after calling set_sysclasspath

Reviewed-by: dholmes, dcubed
2015-08-09 13:38:24 +03:00
Mikhailo Seledtsov
15b4d3eff9 8133222: [TESTBUG] Quarantine runtime/SharedArchiveFile/SharedStrings.java until the fix
Quarantined using at-ingore tag

Reviewed-by: dcubed
2015-08-07 17:14:26 -07:00
Kim Barrett
a4537791a8 Merge 2015-08-08 00:27:39 +02:00
Thomas Schatzl
a6609275c8 Merge 2015-08-07 23:01:50 +02:00
Serguei Spitsyn
4f489580d7 8080401: Uninitialised variable in hotspot/src/os/solaris/dtrace/
Reduce the warnings

Reviewed-by: sla, dsamersoff
2015-08-07 09:22:29 -07:00
Serguei Spitsyn
6ee89e55d5 8033577: [parfait] warnings from b128 for hotspot/src/os/solaris/dtrace: Unportable format string argument mismatch
Reduce the warnings

Reviewed-by: sla, dsamersoff, coleenp
2015-08-07 09:21:32 -07:00
Kirill Zhaldybin
176e1beb01 8132708: Add tests for Humongous objects allocation threshold
Added the test which checks that Humongous objects allocation threshold works as expected

Reviewed-by: tschatzl, dfazunen
2015-08-07 17:58:01 +03:00
Thomas Schatzl
c6cfb3a7fd 8133042: Remove some direct accesses of G1Allocator to G1CollectedHeap members
Remove direct access to private members of G1CollectedHeap from G1Allocator and G1ArchiveAllocator. Allows removal of friend delcarations.

Reviewed-by: kbarrett, jmasa, jwilhelm
2015-08-07 15:37:07 +02:00
Eric Caspole
bcca305c14 8078904: CMS: Assert failed: Ctl pt invariant
Survivor rescan array now baed on MinTLABSize so all entries will fit

Reviewed-by: tschatzl, kbarrett
2015-08-07 09:15:42 -04:00
Alejandro Murillo
99f2706c9d Merge 2015-08-06 13:00:44 -07:00
Lana Steuck
e201f3dc9b Merge 2015-08-06 11:18:59 -07:00