6038 Commits

Author SHA1 Message Date
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
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
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
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
Roland Westrelin
c55d212196 8136461: PhaseIdealLoop::try_move_store_before_loop() may bypass early loop exit
PhaseIdealLoop::try_move_store_before_loop() needs to check for early loop exit before candidate Stores

Reviewed-by: kvn
2015-09-15 13:08:43 +02:00
Derek White
23813ce92e 8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
Add support for alias options and automatically expiring deprecated options

Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04:00
Volker Simonis
26254f4645 8135179: Fix conversion warning after 8067341
Add required casts.

Reviewed-by: tschatzl, goetz
2015-09-21 10:45:41 +02:00
Aleksey Shipilev
bbc043a7f2 8135085: Change Method::_intrinsic_id from u1 to u2
Convert Method::_intrinsic_id from u1 to u2 to expand id range over 255.

Reviewed-by: coleenp, iklam, jiangli
2015-09-18 13:41:11 -07:00
Harold Seigel
e7ed6bff90 8132904: Type checking verifier fails to reject assignment from array to an interface
Only allow assignment if interface is Cloneable or Serializable.

Reviewed-by: kamg, gtriantafill, jiangli
2015-09-18 07:01:23 -04:00
Mikael Gerdin
34a6b43988 8136701: Remove YOUNG_LIST_VERBOSE code from G1CollectedHeap
Reviewed-by: stefank, jwilhelm
2015-09-17 16:07:06 +02:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Jesper Wilhelmsson
b0b89c5b41 Merge 2015-09-15 15:49:33 +02:00
Roland Westrelin
404fc5caa8 8134974: 8130847 broken with loop predicates
Pinned eliminated arraycopy loads in uncommon trap path for loop predicates may need to be moved

Reviewed-by: kvn
2015-09-08 19:19:08 +02:00
Roland Westrelin
8dd169a71f 8135069: C2 replaces range checks by unsigned comparison with -1
I < 0 || i > -1 wrongly folded as i >u -1

Reviewed-by: kvn
2015-09-11 16:56:56 +02:00
Tobias Hartmann
a6ab162873 Merge 2015-09-14 09:11:03 +00:00
Tobias Hartmann
6479241f4a 8135252: IdealLoopTree::dump_head() prints negative trip count
IdealLoopTree::dump_head() should not cast float to int.

Reviewed-by: kvn
2015-09-14 10:00:26 +02:00
Tobias Hartmann
662e39edbb Merge 2015-09-14 07:03:04 +00:00
Tobias Hartmann
3780022a87 8080999: MemoryPoolMXBean.getUsageThresholdCount() returns incorrect value
Fixed race condition in the JMX code for the LowMemoryDetector.

Reviewed-by: kvn
2015-09-14 07:02:50 +02:00
Kirill Zhaldybin
9f9739c156 8132980: Improve stability of whitebox methods getCodeBlob and freeCodeBlob
Added checks for negative and null size and address values (where applicable) for getCodeBlob, allocateCodeBlob and freeCodeBlob, added regression test

Reviewed-by: iignatyev
2015-09-11 16:11:07 +03:00
Jesper Wilhelmsson
1736e104a1 Merge 2015-09-08 16:10:37 +02:00
Igor Veresov
e88940fae6 Merge 2015-09-10 17:56:43 -07:00
Michael Berg
e75f5a5cde 8135028: support for vectorizing double precision sqrt
Reviewed-by: kvn, twisti
2015-09-09 10:34:17 -07:00
Igor Ignatyev
be3feab2ef Merge 2015-09-07 20:03:56 +02:00
Nils Eliasson
559bf7ef6e 8135067: Preparatory refactorings for compiler control
Extract CompileTask and clean up

Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Ahmed Khawaja
d7b8032741 8132081: C2 support for Adler32 on SPARC
Add C2 instrinsic support for Adler32 checksum on SPARC.

Reviewed-by: kvn
2015-09-03 15:03:12 -07:00
Michail Chernov
6814a6121a 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:38:07 +03:00
David Buck
c166f75b22 8135002: Fix or remove broken links in objectMonitor.cpp comments
Updated comments to refer to relevant patents.

Reviewed-by: dcubed
2015-09-04 17:33:56 -07:00
Ron Durbin
be89d7204f 8061999: Enhance VM option parsing to allow options to be specified in a file
Add support for the "-XX:VMOptionsFile=<path>" option.

Reviewed-by: dcubed, gthornbr, gziemski, ddmitriev, dholmes, coleenp
2015-09-04 14:49:20 -07:00
Jim Laskey
5231fd3c51 Merge 2015-09-04 20:29:48 +00:00
Jim Laskey
f763183615 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:12:08 -03:00
Jesper Wilhelmsson
1d4ed72ab1 8130823: VerifyRememberedSets is an expensive nop in product builds
Reviewed-by: jmasa, tschatzl
2015-09-04 13:23:10 +02:00