Commit Graph

9284 Commits

Author SHA1 Message Date
David Lindholm
5770f4eb32 8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files

Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Mikael Gerdin
6aec53bd96 8139086: Solaris/Sparc slowdebug build fails for memset_with_concurrent_readers.cpp
Reviewed-by: dcubed, kbarrett, coleenp
2015-10-09 09:00:33 +02:00
Lana Steuck
e7f00972c0 Added tag jdk9-b85 for changeset 9a72f98c3066 2015-10-08 22:30:35 -07:00
Alejandro Murillo
cfc752716c Merge 2015-10-08 14:28:55 -07:00
Dean Long
8ecc501677 Merge 2015-10-08 19:16:42 +00:00
Tomasz Wojtowicz
254fe207a8 8139094: Tier1 test java/util/zip/TestCRC32C.java fails due to fixes for JDK-8134553
Match correct intrinsic kind

Reviewed-by: iveresov, kvn
2015-10-08 09:51:12 -07:00
Ed Nevill
a138ebeb52 8139043: aarch64: add support for adler32 intrinsic
Add adler32 support like 8132081 for sparc

Reviewed-by: kvn
2015-10-08 13:14:46 +00:00
Bengt Rutisson
dbdf722879 8138717: TestGCEventMixedWithG1ConcurrentMark.java fails
Reviewed-by: jwilhelm, david
2015-10-08 12:44:12 +02:00
Jesper Wilhelmsson
0ec56658ea Merge 2015-10-08 22:35:20 +02:00
Andrew Dinn
bf99cd983a 8139042: AARCH64: Correct regression introduced by 8080293
Reinstate unsafe volatile optimization broken by JDK-8080293

Reviewed-by: aph, kvn
2015-10-07 06:56:58 -04:00
Lana Steuck
188c32e53c Merge 2015-10-06 08:41:31 -07:00
Lana Steuck
2da00b4c36 Added tag jdk9-b84 for changeset 43c458023730 2015-10-05 20:24:59 -07:00
Vivek R Deshpande
5a633b1cbd 8132207: update for x86 exp in the math lib
Add new java.lang.Math() intrinsics from x86

Reviewed-by: kvn, iveresov
2015-10-05 20:02:40 -07:00
Sangheon Kim
b112b31e5b 8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
Carsten Varming
3f29249aee 8139134: Wrong tenuring threshold in young GC trace event
Reviewed-by: ehelin, jwilhelm
2015-10-08 12:47:17 +02:00
Goetz Lindenmaier
56d0ec1e1a 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
Also fix one problematic format on ppc.

Reviewed-by: david, simonis
2015-10-02 11:46:42 +02:00
Igor Ignatyev
462756ad41 Merge 2015-10-08 01:04:29 +00:00
Daniel D. Daugherty
3a93c5efe8 Merge 2015-10-07 22:54:08 +00:00
Christian Tornqvist
32ece0aa0b Merge 2015-10-07 20:45:15 +00:00
Erik Helin
ebbcb070d7 Merge 2015-10-07 17:33:42 +00:00
Daniel D. Daugherty
476f9811ac Merge 2015-10-07 16:41:21 +00:00
George Triantafillou
1ba9657a1c 8134432: [TESTBUG] Rewrite test/runtime/6888954/vmerrors.sh in Java
Reviewed-by: ddmitriev, ctornqvi, coleenp
2015-10-07 11:37:46 -04:00
Kirill Zhaldybin
bb35c2390c 8138958: Quarantine gc/g1/mixedgc/TestLogging.java test
Reviewed-by: brutisso, iignatyev
2015-10-07 18:02:25 +03:00
Erik Helin
6b721104aa 8138971: G1CollectorPolicy::_rs_lengths_prediction is not initialized before use
Reviewed-by: mgerdin, jwilhelm
2015-10-07 17:00:02 +02:00
David Lindholm
fcd5348f6f Merge 2015-10-07 14:56:53 +00:00
David Lindholm
def3b63b62 8138832: CreateCoredumpOnCrash on linux ARM causes assert message to be repeated
Reviewed-by: jwilhelm, mgerdin
2015-10-07 15:27:02 +02:00
Erik Helin
75623819fd 8138969: G1CollectorPolicy should use const for applicable methods
Reviewed-by: mgerdin, jwilhelm
2015-10-07 15:06:52 +02:00
Jesper Wilhelmsson
e75e2e04f7 Merge 2015-10-07 01:03:24 +02:00
Coleen Phillimore
22095dbf1d Merge 2015-10-06 18:51:47 +00:00
Max Ockner
27d1c05648 8138917: Back out change for 8130681
Change 8130681 has been backed out.

Reviewed-by: coleenp, gtriantafill
2015-10-06 14:27:39 -04:00
Bengt Rutisson
3289307dbe 8138707: TestPromotionEventWithParallelScavenge.java crashes using undefined GC id
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:27:03 +02:00
Bengt Rutisson
48bbdafeed 8138863: Refactor WaitForBarrierGCTask
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:26:13 +02:00
Bengt Rutisson
ef3a3a84bc 8138862: Remove some unused code and subclasses in gcTaskManager.hpp/cpp
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:25:02 +02:00
Per Lidén
be4747bc4d 8138846: Remove unused enum ConcurrentGCThread::CGC_flag_type
Reviewed-by: jwilhelm, brutisso
2015-10-06 08:05:11 +02:00
Kim Barrett
d0ae130dd5 8138833: Remove CMMarkStack::drain
Remove unused functions and data members.

Reviewed-by: pliden, brutisso
2015-10-05 21:17:11 -04:00
Ioi Lam
af9ada0eb2 8078295: hotspot test_env.sh can set VM_CPU incorrectly
Use sed script to filter out irrelevant parts of -Xinternalversion

Reviewed-by: dlong, dcubed, dsamersoff
2015-10-05 13:25:01 -07:00
Alejandro Murillo
1380ff2e93 Merge 2015-10-01 11:52:44 -07:00
Thomas Stuefe
6c113577e6 8137329: [windows] Build broken on VS2010 after "8046148: JEP 158: Unified JVM Logging"
Reviewed-by: simonis, ihse, prr, goetz, dcubed
2015-10-01 09:30:19 +02:00
Alejandro Murillo
796dab06c1 Merge 2015-09-30 07:41:36 -07:00
Felix Yang
12cba200a3 8138583: aarch64: add support for vectorizing fabs/fneg
Reviewed-by: aph, roland
2015-09-30 04:35:39 -04:00
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
Igor Veresov
45f51703ed Merge 2015-10-09 21:04:19 +00: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
Christian Thalinger
12fc8a0b33 8138820: JDK Hotspot build fails with Xcode 7.0.1
Reviewed-by: iveresov
2015-10-09 09:09:05 -10: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
f5b4bb46f5 Merge 2015-10-08 10:25:45 +00: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
Tobias Hartmann
05ef579ef8 Merge 2015-10-08 07:51:17 +00:00
Tobias Hartmann
b9bf98abb2 8139048: Quarantine compiler/startup/SmallCodeCacheStartup.java
Quarantine the test because it fails on JPRT for the CPU, CompactStrings and JVMCI repositories.

Reviewed-by: roland
2015-10-08 08:54:57 +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
65ce4b6e05 Merge 2015-10-02 16:48:31 +00:00
Dmitry Dmitriev
1ea2276afe 8138769: [TESTBUG] restore lost line from JDK-8137105 fix
Reviewed-by: dcubed, rdurbin
2015-10-02 09:04:10 -07:00
Christian Tornqvist
23adedf153 8137194: Exclude runtime/memory/RunUnitTestsConcurrently.java from JPRT
Reviewed-by: coleenp
2015-10-02 06:06:22 -07:00
Daniel D. Daugherty
c82358e790 Merge 2015-10-02 12:44:02 +00:00
Daniel D. Daugherty
88dfd18385 Merge 2015-10-02 11:58:41 +00:00
David Lindholm
2b53ade636 Merge 2015-10-02 11:02:11 +00:00
David Lindholm
8c46f6af7e 8138637: Remove err_msg from LOG_PREFIX macro
Reviewed-by: brutisso
2015-10-02 10:43:19 +02:00
Erik Joelsson
cc93462eb5 8138692: libjsig compilation is missing EXTRA_CFLAGS on macosx
Reviewed-by: ihse, mikael
2015-10-02 10:15:46 +02:00
Daniel D. Daugherty
017ac63fe8 8137105: [TESTBUG] Add test cases for VM Options file feature with removed file size limit
Update TestVMOptionsFile.java to match fix for 8135195; other minor cleanups.

Reviewed-by: dcubed, rdurbin
2015-10-01 13:43:23 -07: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
Rachel Protacio
8e010a0c32 8138574: [TESTBUG] TestBasicLogOutput.java doesn't account for padding
TestBasicLogOutput.java edited to account for padding in tag descriptors

Reviewed-by: ddmitriev, hseigel, coleenp
2015-10-01 15:14:15 -04: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
Jesper Wilhelmsson
aa0818a98a Merge 2015-09-28 15:05:02 +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
Lana Steuck
efe976c19f Merge 2015-09-26 09:21:16 -07:00
Lana Steuck
2540f193ce Added tag jdk9-b83 for changeset 52b527d01e88 2015-09-25 22:59:24 -07:00
Alejandro Murillo
777227bd66 Merge 2015-09-24 11:38:26 -07:00
Kirill Zhaldybin
a85d13c8ec 8136398: Create test that checks that G1 MixedGC produces correct output to logfile
Added test that checks that G1 MixedGC produces correct output to logfile

Reviewed-by: tschatzl
2015-09-24 18:48:50 +03:00
Dmitry Samersoff
82b6d632f4 Merge 2015-09-25 10:21:53 +02:00
Dmitry Samersoff
bab9b94863 8086134: Deadlock detection fails to attach to core file
Test reimplemented for jtreg

Reviewed-by: jbachorik
2015-09-24 20:39:55 +03: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
Dmitry Dmitriev
0835a6e311 8073331: [TESTBUG] Test for VM option file feature (VM options specified in file)
Reviewed-by: dcubed, gtriantafill, rdurbin
2015-09-23 22:04:23 +03: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
Christian Tornqvist
11d9f575f5 8027565: Enable /d2Zi+ when building with Visual Studio 2013
Reviewed-by: dcubed, ihse
2015-09-23 05:18:00 -07:00
Alejandro Murillo
c3f349c444 Merge 2015-09-22 11:01:53 -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
Lana Steuck
0add33def0 Merge 2015-09-18 14:21:46 -07:00
Lana Steuck
195d26d824 Added tag jdk9-b82 for changeset f4a20c54ec40 2015-09-18 10:46:35 -07:00
Alejandro Murillo
5ef8af7bec Merge 2015-09-17 09:19:39 -07: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
Pavel Punegov
4af470b866 8066157: JEP-JDK-8046155: Test task: method matcher
MethodMatcher test and framework

Reviewed-by: iignatyev, neliasso
2015-09-24 20:13:04 +03:00
Kirill Zhaldybin
d0134f947f 8137020: [TESTBUG] Utils.runAndCheckException doesn't work well if no exception thrown
Changed handling a case when expected exception wasn't thrown

Reviewed-by: iignatyev
2015-09-24 18:24:10 +03: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
Zoltan Majo
a61a0cec2e 8136914: compiler/loopopts/superword/SumRedSqrt_Double.java times out
Change test to execute only on relevant (x86-based) platforms.

Reviewed-by: kvn, dlong
2015-09-22 13:42:09 +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
Igor Ignatyev
1c12516ffa Merge 2015-09-19 11:19:22 +02:00
Dmitrij Pochepko
14ddfe02e0 8136718: [TESTBUG] introduce FileInstaller functionality
Reviewed-by: iignatyev
2015-09-19 12:04:38 +03:00
Tatiana Pivovarova
89e62a6274 8136693: add package statement 'compiler.testlibrary' to CompilerUtils
Reviewed-by: iignatyev
2015-09-19 12:03:36 +03: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
Alejandro Murillo
6ee248ddf1 Merge 2015-09-15 07:47:44 -07:00
Jesper Wilhelmsson
b1050ba777 Merge 2015-09-15 15:49:33 +02:00
Felix Yang
00a6ff7050 8136524: aarch64: test/compiler/runtime/7196199/Test7196199.java fails
Fix safepoint handlers to save 128 bits on vector poll

Reviewed-by: kvn
2015-09-15 12:59:51 +00: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
Jiangli Zhou
ea76ede582 8135097: Unmap failure for executable memory on windows
Use 'pd_release_memory' for executable memory in os::pd_unmap_memory().

Reviewed-by: iklam, coleenp
2015-09-14 14:55:01 -04:00
Alexander Kulyakhtin
fb955a7eff 8134641: CodelistTest.java fails with sun.misc.Unsafe.getUnsafe
Excluding lines containing sun.misc.Unsafe.getUnsafe from the test input as getUnsafe is hidden from reflection

Reviewed-by: sla
2015-09-14 14:26:29 +03:00
Lana Steuck
7c2b74e8c0 Merge 2015-09-11 13:00:54 -07: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
Ioi Lam
e5b80181d8 8065155: Refactor Hotspot mapfiles
Moved common exported functions to make/share/makefiles/mapfile-vers

Reviewed-by: ihse, bdelsart
2015-09-18 09:48:49 -07: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
Lana Steuck
b46b70bba7 Added tag jdk9-b81 for changeset 6675700073c1 2015-09-11 10:26:29 -07:00
Alejandro Murillo
9374360851 Merge 2015-09-10 14:55:19 -07:00
Alejandro Murillo
da29ed2a94 Merge 2015-09-08 15:39:51 -07: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
Michael Berg
d67924dc8e 8132160: support for AVX 512 call frames and stack management
Simplify save/restore frame on x86 systems which support EVEX.

Reviewed-by: kvn, iveresov
2015-09-11 17:02:44 -07: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
Andrew Haley
518c5cacbc 8135157: DMB elimination in AArch64 C2 synchronization implementation
Reduce memory barrier usage in C2 fast lock and unlock.

Co-authored-by: Wei Tang <wei.tang@linaro.org>
Reviewed-by: kvn
2015-09-08 14:08:58 +01: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
Lana Steuck
cbb7abea24 Merge 2015-09-03 16:14:02 -07: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
Igor Veresov
20b11ddd88 8135035: Reverse changes from 8075093
8075093 turn on FPU spilling that need to be stabilized first

Reviewed-by: kvn
2015-09-03 14:29:08 -07:00
David Katleman
da35f16dac Added tag jdk9-b80 for changeset 20f5e1575704 2015-09-03 14:24:41 -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
Dmitry Fazunenko
187c7c2b58 8132709: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
Reviewed-by: tschatzl, jwilhelm
2015-09-07 21:30:45 +04: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
Mikael Gerdin
cf47fb3a23 8135012: Don't use G1RootProcessor when scanning remembered sets
Reviewed-by: jmasa, ecaspole
2015-09-04 09:47:35 +02:00
Thomas Schatzl
83e4800c47 8134857: Inconsistency in maximum TLAB/PLAB size and humongous object size
Align TLAB/PLAB size with exact humongous object size threshold, not that value -1.

Reviewed-by: jmasa, dfazunen
2015-09-04 08:36:13 +02:00
Mikhailo Seledtsov
1078a41a0f 8133180: [TESTBUG] runtime/SharedArchiveFile/SharedStrings.java failed with WhiteBox.class : no such file or directory
Removed ambiguity on where JarBuilder looks for classes

Reviewed-by: jiangli, ctornqvi, gtriantafill
2015-09-03 08:57:16 -07:00
Daniel D. Daugherty
9b12926ed8 8049304: race between VM_Exit and _sync_FutileWakeups->inc()
Add PerfDataManager.has_PerfData() to indicate when PerfData objects should be safe to query. Update Java monitor PerfData usage to check the new flag. PerfDataManager::destroy() should only be called at a safepoint and when the StatSampler is not active.

Reviewed-by: kbarrett, dholmes, tbenson, bdelsart
2015-09-03 10:22:39 -07:00
Sangheon Kim
c091c7348a 8134972: [BACKOUT] GC: implement ranges (optionally constraints) for those flags that have them missing
Reviewed-by: jwilhelm
2015-09-02 17:49:46 -07:00
Kim Barrett
8ebc8387ba 8134806: Clean up write_ref_field_work
Remove unnecessary pure virtual decl and default argument values.

Reviewed-by: jwilhelm, tbenson, jmasa
2015-09-02 11:41:42 -04:00
Thomas Schatzl
f55b656f2d Merge 2015-09-02 16:16:58 +02:00
Thomas Schatzl
d0bb38889d 8134856: Incorrect use of PLAB::min_size() in MaxPLABSizeBounds
Reviewed-by: jwilhelm, tbenson
2015-09-02 14:00:46 +02:00
Y. Srinivas Ramakrishna
62ccb0305a 8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
2015-09-02 11:56:10 +02:00
Thomas Schatzl
fbfed13ec2 8134858: Remove G1 specific checking of Young/OldPLABSize in G1CollectorPolicy constructor
Remove obsolete and wrong code.

Reviewed-by: mgerdin, brutisso
2015-09-02 09:57:03 +02:00
Staffan Friberg
96823ab211 8066443: Add G1 support for promotion event
Reviewed-by: tschatzl
2015-09-02 09:51:05 +02:00
Stefan Johansson
dada9bc32c 8129417: Oop iteration clean-up to remove oop_ms_follow_contents
Reviewed-by: pliden, ehelin
2015-09-02 09:14:04 +02:00
Gerald Thornbrugh
72c1fe89b2 8134161: JVM is creating too many GC helper threads on T7/M7 linux/sparc platform
Recognize the T7/M7 platform.

Reviewed-by: dcubed, kvn, jmasa
2015-09-01 14:01:18 -07:00
Per Lidén
fd814172ac Merge 2015-09-01 14:17:53 +02:00
Per Lidén
ee626f77ab 8134738: Remove CollectorPolicy::Name
Reviewed-by: brutisso, mgerdin
2015-09-01 13:13:19 +02:00
Aleksey Shipilev
e3007b79ad 8076758: new StringBuilder().append(String).toString() should be recognized by OptimizeStringConcat
Reviewed-by: kvn, thartmann
2015-09-01 12:57:41 +03:00
Thomas Schatzl
8f2026345c 8067341: Modify PLAB sizing algorithm to waste less
Change the G1 PLAB resizing algorithm to waste less memory by being more conservative about the PLAB sizes.

Reviewed-by: ecaspole, jmasa
2015-09-01 10:53:29 +02:00
Sangheon Kim
cf5132e887 8078555: GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: jmasa, kbarrett, gziemski, ddmitriev, drwhite
2015-08-31 11:51:29 -07:00
Dmitry Samersoff
21b8f01e4e Merge 2015-08-31 23:29:02 +02:00
Dmitry Samersoff
6ed285af0a Merge 2015-08-31 21:46:33 +03:00
Kim Barrett
15196341a5 8131330: G1CollectedHeap::verify_dirty_young_list fails with assert
Use assembly loop to avoid compiler optimization into memset

Reviewed-by: ecaspole, tschatzl
2015-08-31 13:06:01 -04:00
Roland Westrelin
ed9e8b9ff2 8134031: Incorrect JIT compilation of complex code with inlining and escape analysis
Bad rewiring of memory edges when we split unique types during EA

Reviewed-by: kvn
2015-08-31 17:20:08 +02:00
Shrinivas Joshi
f10466290d 8075093: Enable UseFPUForSpilling support on SPARC
Use single-cycle MOV instructions (MOVdTOx, MOVxTOd) for spills on SPARC which have them.

Reviewed-by: kvn
2015-09-02 15:11:22 -07:00
Roland Westrelin
b641aad954 Merge 2015-09-02 22:05:47 +02:00
Vladimir Kozlov
16a8ed6f5c 8134898: Small fixes found during JVMCI work
Removed jre/ from jdk paths in makefiles. Add Thread::_unhandled_oops field for debug and fastdebug builds. Fix doc.

Reviewed-by: coleenp, bdelsart
2015-09-02 11:03:20 -07:00
Andrew Haley
ef62a6daab 8134869: AARCH64: GHASH intrinsic is not optimal
Rewrite intrinsic to make better use of SIMD instructions

Reviewed-by: kvn
2015-09-02 13:23:59 +00:00
Roland Westrelin
7ef7c96fde 8134468: Lucene test failures with 32 bit JDK 9b78, Server compiler
Test that checks whether an array load falls into the range of an arraycopy is incorrect on 32bits

Reviewed-by: iveresov, kvn
2015-09-02 10:00:27 +02:00
Aleksey Shipilev
7c7692856a 8134758: Final String field values should be trusted as stable
Reviewed-by: kvn, thartmann
2015-09-01 19:48:10 +03:00
Tobias Hartmann
7b6480cfa4 8134493: Cleaning inline caches of unloaded nmethods should be done in sweeper
Clean ICs of unloaded nmethods in sweeper to avoid impact on safepoint duration.

Reviewed-by: kvn, mdoerr
2015-08-31 13:49:18 +02:00
Kim Barrett
673798137b Merge 2015-08-28 23:57:26 +02:00
Dmitry Dmitriev
237449b3bd 8132725: Memory leak in Arguments::add_property function
Logic in add_property was rewritten to avoid memory leak

Reviewed-by: iklam, coleenp
2015-08-28 17:32:31 +03:00
Erik Joelsson
97882998ad Merge 2015-08-28 11:10:57 +02:00
Erik Joelsson
26b79e6c5c 8134157: adlc fails to compile with SS12u4
Reviewed-by: dholmes, kbarrett, ihse
2015-08-28 09:57:54 +02:00
Erik Helin
6239649ec3 8134509: G1ParCopyClosure does not need a ReferenceProcessor
Reviewed-by: stefank, mgerdin
2015-08-28 09:05:46 +02:00
Alejandro Murillo
d89ff64378 Merge 2015-08-27 14:40:19 -07:00
David Katleman
75ced2d667 Added tag jdk9-b79 for changeset 7a289da71811 2015-08-27 12:59:50 -07:00
Roland Westrelin
d791abc7e3 Merge 2015-08-27 18:51:22 +02:00
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
Hui Shi
3b19bff980 8134322: AArch64: Fix several errors in C2 biased locking implementation
Several errors in C2 biased locking require fixing

Reviewed-by: kvn
2015-08-26 17:13:59 +01:00
Roland Westrelin
9dcbe322e0 8134288: compiler/runtime/6859338/Test6859338.java crashes in PhaseIdealLoop::try_move_store_after_loop
Store nodes may not have a control if used to update profiling

Reviewed-by: kvn
2015-08-26 12:43:15 +02:00
Roland Westrelin
8942ef410f 8134321: tools/pack200/Pack200Test.java crashes in the VM PIT jdk9 b79
Code that capture field values of eliminated allocation at a safepoint when there's an arraycopy behind a Phi is broken

Reviewed-by: kvn
2015-08-26 09:49:37 +02: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
Tobias Hartmann
72e8f28d56 8075805: Crash while trying to release CompiledICHolder
Removed nmethod transition to zombie outside of sweeper. Added cleaning of ICs of unloaded nmethods.

Reviewed-by: kvn, iveresov
2015-08-25 07:49:55 +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
Roland Westrelin
a9e232a8ef Merge 2015-08-21 09:12:42 +02:00
Lana Steuck
38d33cb429 Merge 2015-08-20 12:30:20 -07:00
David Katleman
41fbe64f35 Added tag jdk9-b78 for changeset 7bf24ea31a4d 2015-08-20 11:38:19 -07: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
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