7315 Commits

Author SHA1 Message Date
Chris Plummer
5306f2430a 6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type>
The test case shows that an exception is thrown with the message "Argument is not an array", when in fact the argument is an array, but an array of a primitive type is actually what was expected. Fixed by differentiating between failing because an array was expected and failing because an array of a primitive type was expected.

Reviewed-by: dholmes, ctornqvi, lfoltan
2014-10-23 14:43:08 -07:00
Lana Steuck
88ecaa471d Merge 2014-10-23 13:44:59 -07:00
Kim Barrett
8f8d87ece5 8061748: Remove check_ct_logs_at_safepoint()
Remove unused function and related closure class

Reviewed-by: jwilhelm, mgerdin
2014-10-23 16:19:32 -04:00
David Katleman
94c271fa96 Added tag jdk9-b36 for changeset 1f97f4f1b7d9 2014-10-23 11:19:10 -07:00
Calvin Cheung
1aa3da1067 8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement

Reviewed-by: jiangli, dholmes
2014-10-23 10:08:02 -07:00
Jesper Wilhelmsson
84aecba04d Merge 2014-10-23 17:36:30 +02:00
Jesper Wilhelmsson
5c52a46b60 Merge 2014-10-23 17:36:30 +02:00
Erik Helin
3a3e45ab40 8061630: G1 iterates over JNIHandles two times
Reviewed-by: mgerdin, brutisso
2014-10-23 11:43:29 +02:00
Karen Kinnear
397e42b775 Merge 2014-10-22 22:37:06 +00:00
Karen Kinnear
0e1283a811 8043275: Fix interface initialization for default methods
Initialize interfaces that declare concrete instance methods.

Reviewed-by: kamg, coleenp, psandoz
2014-10-22 15:24:37 -07:00
Jesper Wilhelmsson
27e9dd8a8d 8061805: BACKOUT - Remove the generations array
Backing out the change due to non-trivial test problems in nightly testing.

Reviewed-by: jwilhelm, mgerdin
2014-10-22 16:40:43 +02:00
Andreas Eriksson
ea48bceb5e 8057043: Type annotations not retained during class redefine / retransform
Reviewed-by: coleenp, sspitsyn, jfranck
2014-10-22 13:59:56 +02:00
Frederic Parain
209ffcd9a5 8061618: Removed unused networking functions from os class
Reviewed-by: lfoltan, hseigel, dholmes
2014-10-22 02:31:25 -07:00
Marcus Larsson
46e9fb5176 6979279: remove special-case code for ParallelGCThreads==0
Reviewed-by: jwilhelm, brutisso, kbarrett
2014-10-21 11:57:22 +02:00
Roland Westrelin
79738069b0 8060252: JDK-7173584 compiler changes regress SPECjvm2008 on SPARC
Arraycopy code misses opportunities to optimize copies to just allocated array.

Reviewed-by: kvn
2014-10-20 22:53:37 +02:00
Vladimir Kozlov
8cd1a874e8 8059780: SPECjvm2008-MPEG performance regressions on x64 platforms
Back-out 8052081 changes made in lcm.cpp.

Reviewed-by: iveresov, roland
2014-11-03 12:02:40 -08:00
Sergei Kovalev
8152a3ea35 8044186: Introduce a reproducible random generator
Reviewed-by: kvn, iveresov, iignatyev
2014-11-02 18:43:38 +03:00
Igor Ignatyev
e429e497ce 8043125: compiler/types/correctness/CorrectnessTest.java: assert(layout->tag() == DataLayout::speculative_trap_data_tag) failed: wrong type
Reviewed-by: kvn
2014-11-02 18:43:00 +03:00
Igor Ignatyev
e5a126fe00 8036913: make DeoptimizeALot dependent on number of threads
Reviewed-by: kvn, shade
2014-11-02 18:42:30 +03:00
Vladimir Kozlov
74def215cd 8054492: Casting can result in redundant null checks in generated code
Add C2 intrinsic for Class.cast() method and force inline it too.

Reviewed-by: jrose, roland, drchase, iignatyev
2014-10-31 16:51:57 -07:00
Igor Veresov
daf2fd0593 Merge 2014-10-31 12:01:27 -10:00
Tobias Hartmann
7d202a428b Merge 2014-10-31 11:31:30 +00:00
Tobias Hartmann
62d33442b8 8062169: Multiple OSR compilations issued for same bci
Fixed 'SimpleThresholdPolicy::event' to always perform OSR if an OSR nmethod is available.

Reviewed-by: kvn, iveresov
2014-10-31 12:16:20 +01:00
Stefan Johansson
bd227a9bac 8058568: GC cleanup phase can cause G1 skipping a System.gc()
Marking G1 FullGC as a _full collection and passing down the correct before count.

Reviewed-by: brutisso, mgerdin
2014-10-20 10:18:17 +02:00
Daniel D. Daugherty
aed4b0760c Merge 2014-10-18 11:37:11 -07:00
Alejandro Murillo
c3b487d84f Merge 2014-10-17 07:58:54 -07:00
Daniel D. Daugherty
31986657eb Merge 2014-10-17 06:58:57 -07:00
Lana Steuck
2b931469de Merge 2014-10-16 14:15:37 -07:00
David Katleman
f0c24e1a0f Added tag jdk9-b35 for changeset 58090065f895 2014-10-16 12:01:59 -07:00
Jiangli Zhou
cc264643ac 8060256: The loop in Arguments::parse() can be enhanced
Add continue statement for matching cases.

Reviewed-by: dholmes, bdelsart
2014-10-16 14:11:53 -04:00
Daniel D. Daugherty
f7f1cca26e Merge 2014-10-16 17:36:47 +00:00
Jesper Wilhelmsson
1570e4c406 Merge 2014-10-16 15:59:39 +00:00
George Triantafillou
b79e1193cd 8058606: [TESTBUG] Detailed Native Memory Tracking (NMT) data is not verified as output at VM exit
Reviewed-by: coleenp, hseigel
2014-10-15 05:55:44 -07:00
Zoltan Majo
ed26c7e640 8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
This patch adds a new flag (CompileThresholdScaling) to control when methods are first compiled

Reviewed-by: anoll, iveresov, kvn
2014-10-15 14:00:41 +02:00
Zoltan Majo
bde7fd61b4 8060215: per-method PrintIdealGraphLevel
Use CompileCommand=option to set PrintIdealGraphLevel on a per-method level. Introduce the PrintIdealGraph develop to control/check if printing the graph is enabled for any method

Reviewed-by: kvn, dlong, thartmann
2014-10-15 10:51:43 +02:00
Jiangli Zhou
ad65e81ce7 8044269: Analysis of archive files
Add checksum verification.

Reviewed-by: iklam, dholmes, mschoene
2014-10-14 18:47:46 -07:00
Jesper Wilhelmsson
1055ae0436 Merge 2014-10-14 20:35:45 +00:00
Jiangli Zhou
01f7696c6d Merge 2014-10-14 19:39:28 +00:00
Sangheon Kim
8d288ccc54 8027428: Different conditions for printing taskqueue statistics for parallel gc, parNew and G1
Changed flag names for printing taskqueue and termination statistics for parallel gc, parNew and G1.

Reviewed-by: jwilhelm, brutisso, tschatzl
2014-10-14 20:58:43 +02:00
Marcus Larsson
d10dd28393 8060116: After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails
Also reviewed by: sangheon.kim@oracle.com

Reviewed-by: brutisso
2014-10-14 19:55:54 +02:00
Jiangli Zhou
5b06cbcdad Merge 2014-10-14 13:43:47 -04:00
Daniel D. Daugherty
f1ab0fae73 8049737: Contended Locking reorder and cache line bucket
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket.

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: shade, dice, dholmes, dsimms
2014-10-14 10:32:12 -07:00
Jiangli Zhou
d7fe532761 8047934: Adding new API for unlocking diagnostic argument
New API for unlocking diagnostic argument.

Reviewed-by: dholmes, ccheung, egahlin, iklam, bdelsart
2014-10-14 12:09:33 -04:00
Thomas Stuefe
51866388d1 7102541: RFE: os::set_native_thread_name() cleanups
Implement os::set_native_thread_name() on windows, linux

Reviewed-by: sla, ctornqvi, simonis
2014-10-13 22:11:39 +02:00
Jesper Wilhelmsson
1934c66969 Merge 2014-10-13 16:05:46 +02:00
Tobias Hartmann
38e46e728d 8046268: compiler/whitebox/ tests fail : must be osr_compiled
Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap.

Reviewed-by: kvn, dlong, iignatyev
2014-10-13 12:30:37 +02:00
Coleen Phillimore
c5dbe0cf46 Merge 2014-10-10 21:47:04 +00:00
Coleen Phillimore
3a86f9cd27 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Daniel D. Daugherty
f5bcc77f94 Merge 2014-10-10 18:00:14 +00:00
Daniel D. Daugherty
c70dbd3959 Merge 2014-10-10 08:28:12 -07:00