6802 Commits

Author SHA1 Message Date
Andrew Haley
f44f56e351 8138575: Improve generated code for profile counters
Reviewed-by: kvn
2015-09-29 17:01:37 +00:00
Felix Yang
65cf3f8eed 8138641: Disable C2 peephole by default for aarch64
Reviewed-by: roland
2015-09-30 13:23:46 +00:00
Roland Westrelin
c8cf3e7fe5 Merge 2015-10-13 13:23:42 +00:00
Zoltan Majo
301e389dd2 8139377: JVM can't be started w/ -XX:+EnableJVMCI -XX:+UseJVMCICompiler and default TypeProfileWidth
Raise upper bound of TypeProfileWidth from 4 to 8.

Reviewed-by: iveresov, twisti
2015-10-13 10:09:57 +02:00
Ed Nevill
ffd60d555b 8139259: aarch64: jtreg test TestLogSum segvs after 8132207
Fix jump to 0 caused by uninitialised _dexp in 8132207

Reviewed-by: roland, kvn
2015-10-13 09:40:39 +02:00
Martin Doerr
71edab514c 8139421: PPC64LE: MacroAssembler::bxx64_patchable kill register R12
Register R12 must be preserved for stub calls (e.g. deopt handler).

Reviewed-by: goetz
2015-10-12 12:20:38 +02:00
Vivek R Deshpande
e4f225de72 8139454: java/lang/Math/WorstCaseTests.java crashes on Linux-amd64
Emit the form of pextrw that works with sse2

Reviewed-by: iveresov, twisti
2015-10-12 16:35:40 -07:00
Claes Redestad
6947623b7b 8134607: Remove per-compiler performance counters
Reviewed-by: twisti, neliasso
2015-10-12 14:54:39 +02:00
Jan Civlin
115afda88e 8136725: Provide utility for creation a counted loop reserve copy (clone)
Make it easier to revert to the original loop should that be needed

Reviewed-by: kvn
2015-10-09 12:17:58 -07:00
Zoltan Majo
4c20e17d0a 8081288: erronous free in RegClass::~RegClass()
Remove the erronous free.

Reviewed-by: kvn
2015-10-09 15:00:17 +02:00
Zoltan Majo
fc2a5e9d53 8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
Add range check or constraint where necessary.

Reviewed-by: roland, thartmann
2015-10-09 14:21:26 +02:00
Tobias Hartmann
7ca0abe7ee 8139150: ClassVerifier frees exception message while it's still in use
Remove ResourceMark in StackMapReader::parse_verification_type() to avoid freeing of error message.

Reviewed-by: zmajo, dcubed, hseigel
2015-10-09 11:28:11 +02:00
Dean Long
9bb4c7872b Merge 2015-10-09 02:43:50 -04:00
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
Zoltan Majo
fab17a4e67 8137160: Use Compile::live_nodes instead of Compile::unique() in appropriate places -- followup
Change two code locations to use live_nodes() instead of unique() for allocating memory. Adjust comments.

Reviewed-by: kvn
2015-10-08 12:10:19 +02:00
Goetz Lindenmaier
9744fb1f05 8137260: fix warning after "8046148: JEP 158: Unified JVM Logging"
Reviewed-by: mlarsson, stuefe
2015-09-28 12:57:47 +02:00
Daniel D. Daugherty
c82358e790 Merge 2015-10-02 12:44:02 +00:00
David Lindholm
8c46f6af7e 8138637: Remove err_msg from LOG_PREFIX macro
Reviewed-by: brutisso
2015-10-02 10:43:19 +02:00
Daniel D. Daugherty
8ff97188d3 8135195: VM Options file should not be limited to 1k in bytes
Change Arguments::parse_vm_options_file() to remove 1024 byte limit on the VM options file.

Reviewed-by: dcubed, hseigel, gthornbr, dsamersoff, ddmitriev, coleenp
2015-10-01 13:42:42 -07:00
Alexander Harlap
786cdcb65d 8130265: gctests/LargeObjects/large001 fails with OutOfMemoryError: Java heap space
Avoided G1 OutOfMemoryError by adding extra expand heap call

Reviewed-by: jwilhelm, tschatzl
2015-09-30 18:09:40 -04:00
Bengt Rutisson
003892f897 8134953: Make the GC ID available in a central place
Reviewed-by: pliden, jmasa
2015-09-30 09:07:21 +02:00
Bengt Rutisson
d516b42238 8133706: Kitchensink hanged
Reviewed-by: pliden, jmasa
2015-09-29 17:44:58 +02:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Bengt Rutisson
d3651ac249 8136991: [REDO] Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: kbarrett, tschatzl
2015-09-28 09:28:53 +02:00
Max Ockner
8c6f4e578d 8130681: Kitchensink startup crashes JVM with NMT overlapping ranges
Add_committed_region now handles overlapping commits.

Reviewed-by: hseigel, coleenp
2015-09-24 11:26:30 -04:00
Marcus Larsson
77d5410199 Merge 2015-09-24 16:19:15 +02:00
Marcus Larsson
3c2211a492 8046148: JEP 158: Unified JVM Logging
Reviewed-by: coleenp, sla
2015-09-24 12:36:04 +02:00
Andrew Haley
67af37e0b8 8135018: AARCH64: Missing memory barriers for CMS collector
Add StoreStore barrier when CMS needs them

Reviewed-by: tschatzl
2015-09-24 12:04:57 +02:00
Ed Nevill
cb8cff7e6e 8135231: aarch64: add support for vectorizing double precision sqrt
Reviewed-by: roland, aph
2015-09-23 12:39:30 -04:00
Andrew Haley
660dad780b 8136165: AARCH64: Tidy up compiled native calls
Do some cleaning

Reviewed-by: roland, kvn, enevill
2015-09-28 16:18:15 +00:00
Igor Veresov
74519e1e1a Merge 2015-09-25 12:04:35 -07:00
Jesper Wilhelmsson
7f7b300f89 Merge 2015-09-21 17:49:57 +02:00
Harold Seigel
d01e8e3c74 8135265: VM fails on 'empty' interface public <init>()V method with VerifyError
Don't check for calls to super() or this() fro <init>()V methods if they are in interfaces.  Because, they are not ctors.

Reviewed-by: acorn, gtriantafill
2015-09-22 14:24:31 -04:00
Harold Seigel
1890d7a430 8135208: VM permits illegal <clinit> access_flags, versions 51-52
Check access flags for <clinit> methods that are not class init methods.

Reviewed-by: kamg, gtriantafill
2015-09-22 09:48:19 -04:00
Eric Caspole
d3653c4ca3 8131645: [ARM64] crash on Cavium when using G1
Add a fence when creating the CodeRootSetTable so the readers do not see invalid memory.

Reviewed-by: aph, tschatzl
2015-09-21 10:36:36 -04:00
Roland Westrelin
f8abd0e843 8136820: Generate better code for some Unsafe addressing patterns
Reshape address computation to move invariant part out of loops

Reviewed-by: kvn
2015-09-17 16:53:42 +02:00
Ed Nevill
050184d76f 8136615: aarch64: elide DecodeN when followed by CmpP 0
Remove DecodeN when comparing a narrow oop with 0

Reviewed-by: kvn, adinn
2015-09-16 13:50:57 +00:00
Roland Westrelin
92af9b015c 8136926: phi == NULL assert in PhaseIdealLoop::try_move_store_after_loop
Multiple phis on same slice are possible in a loop

Reviewed-by: kvn, mcberg
2015-09-22 15:25:34 +02:00
Hui Shi
0f4b248b18 8136596: Remove aarch64: MemBarRelease when final field's allocation is NoEscape or ArgEscape
Elide MemBar when AllocateNode _is_non_escaping

Reviewed-by: kvn, roland
2015-09-21 10:51:33 +02:00
Andrew Dinn
1a53878451 8080293: AARCH64: Remove unnecessary dmbs from generated CAS code
The current encoding for CAS generates unnecessary leading and trailing dmbs for the MemBarAcquire and MemBarRelease which ought to be elided

Reviewed-by: kvn
2015-09-16 09:52:58 -04:00
Coleen Phillimore
f55f5b8148 Merge 2015-09-18 16:37:12 -04:00
Nils Eliasson
5ca8983920 8135068: Extract method matchers from CompilerOracle
Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
2015-09-18 10:11:11 +02:00
Igor Veresov
ff77d8762c Merge 2015-09-17 13:42:50 -07:00
Martin Doerr
99c37e9ee2 8136525: Generate interpreter entries only once and avoid unnecessary jump to jump
Reviewed-by: coleenp, twisti, aph
2015-09-17 09:03:57 +02:00
Tobias Hartmann
f298249547 8134739: compiler/loopopts/superword/TestVectorizationWithInvariant crashes in loop opts
Bail out of superword optimization if loop was removed (i.e., if zero-trip Opaque1Node was removed).

Reviewed-by: kvn, roland
2015-09-17 08:08:47 +02:00
Tomasz Wojtowicz
61b77b8590 8134553: CRC32C implementations for x86/x64 targets
Reviewed-by: kvn
2015-09-16 15:54:32 -07:00
Michael Berg
d49d1ea740 8134802: LCM register pressure scheduling
Calculate register pressure in a block to help instructions scheduling.

Reviewed-by: kvn, dlong
2015-09-16 13:16:17 -07:00
Vladimir Kozlov
a402bebf6e Merge 2015-09-16 20:33:16 +02:00
Vladimir Kozlov
44a4201adc 8136406: Remove ZapDeadCompiledLocals code
Dead code elimination.

Reviewed-by: roland, twisti
2015-09-15 11:04:11 -07:00
Jesper Wilhelmsson
b1050ba777 Merge 2015-09-15 15:49:33 +02:00