Commit Graph

4985 Commits

Author SHA1 Message Date
Karen Kinnear
ed46fe2de9 8013635: VM should no longer create bridges for generic signatures
Requires: 8013789: Compiler bridges, 8015402: metafactory

Reviewed-by: sspitsyn, coleenp, bharadwaj
2013-07-09 14:02:28 -04:00
Zhengyu Gu
e3831a3495 Merge 2013-07-09 19:56:07 +02:00
Zhengyu Gu
4382d40555 8011760: assert(delta != 0) failed: dup pointer in MemBaseline::malloc_sort_by_addr
Some of qsort implementation on Linux x86 compares element to itself, which is  mistakenly treated as duplicate pointer

Reviewed-by: dcubed, acorn
2013-07-09 13:18:16 -04:00
David Chase
94609df5da 8017578: Hotspot compilation error with latest Studio compiler
Make the destructor virtual (note more non-compiler hotspot errors occur downstream)

Reviewed-by: kvn, twisti
2013-07-09 08:56:04 -04:00
Niclas Adlertz
5de04505c1 8019625: Test compiler/8005956/PolynomialRoot.java timeouts on Solaris SPARCs
Disable the test for SPARC and reduce the number of test iterations

Reviewed-by: kvn
2013-07-09 17:20:32 +02:00
Albert Noll
1bc320c73a 8015635: Crash when specifying very large code cache size
Limit the size of the code cache to at most 2G when arguments are checked; added regression test

Reviewed-by: kvn, twisti
2013-07-09 11:48:05 +02:00
Harold Seigel
64cf70de03 Merge 2013-07-08 18:26:26 -07:00
Harold Seigel
06810f8410 Merge 2013-07-08 16:44:03 -07:00
Eric Mccorkle
65405fd613 8014399: Remove JVM_SetProtectionDomain from hotspot
JVM_SetProtectionDomain has been deprecated since 1.5 and is being removed

Reviewed-by: coleenp, hseigel
2013-07-08 19:36:22 -04:00
Jiangli Zhou
be1bcb5b41 Merge 2013-07-08 14:53:52 -07:00
Goetz Lindenmaier
85fedf2714 8020059: The flag introduced by 8014972 is not defined if Hotspot is built without a compiler (zero, ppc64 core build)
Define CodeCacheMinimumUseSpace flag for cppInterpeter build.

Reviewed-by: kvn
2013-07-08 14:15:02 -07:00
Jiangli Zhou
536e85289d Merge 2013-07-08 14:21:20 -04:00
Ioi Lam
1958240c6f 8016903: Thread::_handle_area initial size too big
Changed initial size to Chunk::tiny_size (216 bytes)

Reviewed-by: coleenp, dholmes, sspitsyn
2013-07-08 10:58:48 -07:00
Frederic Parain
7f314c6d87 Merge 2013-07-05 08:09:40 -07:00
Frederic Parain
f6dc452231 8016465: The hs_err file gets wrong name
Reviewed-by: dcubed, dholmes, rdurbin
2013-07-05 08:26:49 +00:00
Daniel D. Daugherty
765f5cd4e7 8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test

Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Alejandro Murillo
b5efe058f7 8019934: new hotspot build - hs25-b41
Reviewed-by: jcoomes
2013-07-04 14:56:49 -07:00
Alejandro Murillo
f2930397a1 Added tag hs25-b40 for changeset d5b4e1fe16bd 2013-07-04 14:45:58 -07:00
Alejandro Murillo
17631f681a Merge 2013-07-04 14:45:57 -07:00
Zhengyu Gu
5de65fba93 Merge 2013-07-04 04:03:28 -07:00
Roland Westrelin
bc15de549e Merge 2013-07-04 03:41:57 -07:00
Zhengyu Gu
3e8c767620 8016074: NMT: assertion failed: assert(thread->thread_state() == from) failed: coming from wrong thread state
Uses os::NakedYield() on Solaris instead of os::yield_all()

Reviewed-by: acorn, coleenp, hseigel
2013-07-04 06:24:08 -04:00
Roland Westrelin
6864f9f8a8 Merge 2013-07-04 01:42:34 -07:00
Bertrand Delsart
06ecbc8ba4 Merge 2013-07-04 01:03:26 -07:00
Christine Lu
8007f4f434 Added tag jdk8-b97 for changeset 3a6f15473944 2013-07-04 01:00:19 -07:00
Carlos Lucasius
3fb892d0e8 Merge 2013-07-03 22:36:42 -04:00
Tao Mao
c02e42d05e Merge 2013-07-03 15:04:53 -07:00
Tao Mao
e94f9fcf63 Merge 2013-07-03 14:50:10 -07:00
Jiangli Zhou
b454ece6d7 7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.

Reviewed-by: stefank, coleenp
2013-07-03 17:26:59 -04:00
Sylvestre Ledru
eeba729b55 8019833: Wrong JNI error code for preexisting JVM
Return the appropriate JNI error message (instead of the generic one) when the JVM is already started

Reviewed-by: coleenp, hseigel
2013-07-03 13:45:39 -04:00
Christian Thalinger
3fb7de3d0d Merge 2013-07-02 22:51:23 -07:00
Christian Thalinger
90c790728d 8017571: JSR292: JVM crashing on assert "cast to instanceKlass" while producing MethodHandle for array methods with MethodHandle.findVirtual
Reviewed-by: kvn
2013-07-02 20:27:00 -07:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Coleen Phillimore
4ecee47075 Merge 2013-07-02 16:54:24 +02:00
Coleen Phillimore
1e7c006d39 8015391: NPG: With -XX:+UseCompressedKlassPointers OOME due to exhausted metadata space could occur when metaspace is almost empty
Allocate medium chunks for class metaspace when class loader has lots of classes

Reviewed-by: mgerdin, jmasa
2013-07-02 08:42:37 -04:00
Albert Noll
386e37ba15 8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
Introduce a minimum code cache size that guarantees that the VM can startup.

Reviewed-by: kvn, twisti
2013-07-02 07:51:31 +02:00
Vladimir Kozlov
fc1302ea95 8019247: SIGSEGV in compiled method c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object
Undo recent changes (and add more comments) in Ideal_allocation().

Reviewed-by: roland
2013-07-02 10:30:49 -07:00
Jiangli Zhou
bf2a400ca2 8006023: Embedded Builds fail management test because of requirement for UsePerfData being enabled
Added -XX:+UsePerfData to Test7196045.java.

Reviewed-by: dholmes, collins
2013-07-01 19:44:37 -04:00
Volker Simonis
7936ee54bf 8019382: PPC64: Fix bytecodeInterpreter to compile with '-Wunused-value'
Cast the offending expressions to (void)

Reviewed-by: kvn, coleenp
2013-07-01 14:14:16 -07:00
Tomas Hurka
425681caec 8009204: [dtrace] signatures returned by Java 7 jstack() are corrupted on Solaris
The fix is basically a backport of JDK-7019165 (pstack issue) to jhelper.d.

Reviewed-by: coleenp, sspitsyn
2013-07-01 14:13:12 -07:00
Filipp Zhinkin
68c516f654 8006629: NEED_TEST: need test for JDK-8001071
Added regression test

Reviewed-by: kvn, coleenp
2013-07-01 12:22:34 -07:00
Tao Mao
7109e85e43 8017611: Auto corrector for mistyped vm options
The auto corrector for mistyped vm options fuzzy-matches existing flags based on string similarity (Dice's coefficient).

Reviewed-by: kvn, dsamersoff, hseigel, johnc
2013-06-28 20:18:04 -07:00
John Cuthbertson
f93ee2a9dd 8017070: G1: assert(_card_counts[card_num] <= G1ConcRSHotCardLimit) failed
The assert is invalid when a card is being refined by two different threads and its count crosses the hot threshold - the refinement count will be updated once by each thread triggering the assert. Remove the assert and update the count using a bounded expression.

Reviewed-by: jmasa, tamao, brutisso
2013-07-01 09:30:23 -07:00
Per Liden
36967c98e4 8014022: G1: Non Java threads should lock the shared SATB queue lock without safepoint checks
Reviewed-by: tschatzl, brutisso, jmasa, ysr
2013-06-30 21:42:07 +02:00
Erik Helin
f72bcd09ec Merge 2013-06-28 18:28:17 +02:00
Alejandro Murillo
13bcac6e93 8019302: new hotspot build - hs25-b40
Reviewed-by: jcoomes
2013-06-28 02:33:13 -07:00
Alejandro Murillo
bac4ba3939 Added tag hs25-b39 for changeset 4056af328b00 2013-06-28 02:25:08 -07:00
Alejandro Murillo
c2c1793452 Merge 2013-06-28 02:25:07 -07:00
David Katleman
20294ba90e Added tag jdk8-b96 for changeset 14d9242a9dc9 2013-06-27 13:40:18 -07:00
Vladimir Kozlov
579c7ac5ab Merge 2013-06-27 11:12:19 -07:00
Erik Helin
62be1fc827 Merge 2013-06-27 10:56:10 +02:00
Bengt Rutisson
d3dfbb3cf2 8017483: G1 tests fail with native OOME on Solaris x86 after HeapBaseMinAddress has been increased
Set HeapBaseMinAddress as default rather than ergo

Reviewed-by: stefank, jmasa, kvn
2013-06-27 09:59:59 +02:00
David Katleman
dcb3a24cfc 8017323: JDK8 b95 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:25:42 -07:00
Erik Gahlin
bb7b31d9ff 8016331: Minor issues in event tracing metadata
Reviewed-by: stefank, brutisso, mgronlun
2013-06-26 17:02:04 +02:00
Erik Helin
604a75ff30 8013590: NPG: Add a memory pool MXBean for Metaspace
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Jon Masamitsu
ca3a1be3fe 8014851: UseAdaptiveGCBoundary is broken
Reviewed-by: tschatzl, brutisso
2013-06-25 15:17:11 -07:00
Alejandro Murillo
2289eb801f Merge 2013-06-25 12:46:21 -07:00
Jon Masamitsu
a154f7c01e 8014546: MetaspaceAux print_metaspace_change() should print "used" after GC not capacity
Reviewed-by: johnc, tschatzl
2013-06-25 09:58:26 -07:00
Staffan Larsen
7b2e1c47f4 8017561: Build errors caused by missing .PHONY
Reviewed-by: stefank, brutisso
2013-06-25 14:11:57 +02:00
Coleen Phillimore
39a1c1d6c2 8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses.

Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Lana Steuck
68a84342d4 Merge 2013-06-24 14:27:24 -07:00
Goetz Lindenmaier
1f6c4015a7 8017531: 8010460 changes broke bytecodeInterpreter.cpp
Replace _indy by _jsr292 and also fix VERIFY_OOP macros.

Reviewed-by: kvn
2013-06-24 16:11:47 +02:00
Niclas Adlertz
2b66900257 8017510: Add a regression test for 8005956
Regression test for 8005956

Reviewed-by: kvn, twisti
2013-06-26 00:40:13 +02:00
Niclas Adlertz
19d56715fa 8017243: 8001345 is incomplete
Replaces unused decodeN at MemBarAcquire with its corresponding loadN if loadN is used at more than one place.

Reviewed-by: kvn, twisti
2013-06-25 12:07:07 -07:00
Christian Thalinger
d5d79568d0 Merge 2013-06-24 18:23:45 -07:00
Christian Thalinger
de4b9daceb 8017538: Clang support broke slowdebug build for i586
Reviewed-by: kvn
2013-06-24 17:47:25 -07:00
Goetz Lindenmaier
fad60d1428 8017308: Remove unused breakpoint relocation type
Remove unused breakpoint relocation type

Reviewed-by: kvn
2013-06-24 11:53:54 -07:00
Ioi Lam
196c8abc3d 8009575: Reduce Symbol::_refcount from 4 bytes to 2 bytes
Added Atomic::inc(short*) to support this change.

Reviewed-by: coleenp, dcubed, dholmes, minqi
2013-06-23 22:08:28 -07:00
Daniel D. Daugherty
1c281a9fb3 Merge 2013-06-21 10:55:26 -07:00
Daniel D. Daugherty
b786264739 Merge 2013-06-21 08:18:08 -07:00
Doug Simon
42ca17cea2 8017177: more explicit code location information in hs_err crash log
Add code pc location for compiled code

Reviewed-by: kvn, coleenp
2013-06-21 10:57:00 -04:00
Coleen Phillimore
90292afbfa 8004124: Handle and/or warn about SI_KERNEL
Detect this crash in the signal handler and give a fatal error message instead of making us chase down bugs that don't reproduce

Reviewed-by: kvn, mgerdin, dholmes
2013-06-21 10:50:19 -04:00
Alejandro Murillo
1dc7a25eac 8017253: new hotspot build - hs25-b39
Reviewed-by: jcoomes
2013-06-21 00:59:12 -07:00
Alejandro Murillo
c623ba96a0 Added tag hs25-b38 for changeset 5fa5cb572ab6 2013-06-21 00:51:57 -07:00
Alejandro Murillo
9d238057f3 Merge 2013-06-21 00:51:56 -07:00
Vladimir Kozlov
175419c053 Merge 2013-06-20 16:08:11 -07:00
David Katleman
261b0510b8 Added tag jdk8-b95 for changeset 2ee055cdda86 2013-06-20 10:16:47 -07:00
Goetz Lindenmaier
ef69ce852c 8016697: Use stubs to implement safefetch
Implement Safefetch as stub routines. This reduces compiler and os dependencies.

Reviewed-by: twisti, kvn
2013-06-20 15:02:05 +02:00
Markus Grönlund
e7b16a5e79 8016735: Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
Reviewed-by: sla, dholmes
2013-06-20 11:53:51 +02:00
Erik Helin
774e23fae7 Merge 2013-06-20 10:03:58 +02:00
Ioi Lam
0decdc537a 8008964: NPG: Memory regression: Thread::_metadata_handles uses 1 KB per thread
Reduce default size of Thread::_metadata_handles from 300 to 30

Reviewed-by: coleenp, sspitsyn
2013-06-19 20:51:39 -07:00
David Holmes
e5fa731ce9 8014326: [OSX] All libjvm symbols are exported
Add support for a MacOS X compatible form of the libjvm mapfile.

Reviewed-by: dcubed, rdurbin, coleenp
2013-06-19 13:14:03 -07:00
Nils Loodin
d357b575b3 Merge 2013-06-19 18:13:52 +02:00
Vladimir Kempik
053da424c7 8015903: Format issue with -XX:+PrintAdaptiveSizePolicy on JDK8
Missing linebreak in hotspot log.

Reviewed-by: brutisso, tschatzl
2013-06-19 06:09:46 -07:00
Chris Hegarty
748456a6d9 Merge 2013-06-19 11:02:10 +01:00
Niclas Adlertz
556b4925b3 8001345: VM crashes with assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Remove unnecessary LoadN / DecodeN nodes at MemBarAcquire nodes.

Reviewed-by: kvn, roland
2013-06-19 00:41:56 +02:00
Bengt Rutisson
3cc79df807 8016556: G1: Use ArrayAllocator for BitMaps
Reviewed-by: tschatzl, dholmes, coleenp, johnc
2013-06-18 22:45:32 +02:00
John Cuthbertson
5382e0759e 8015237: Parallelize string table scanning during strong root processing
Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.

Reviewed-by: tschatzl, stefank, twisti
2013-06-18 12:31:07 -07:00
Andreas Schoesser
e97599b826 8015660: Test8009761.java "Failed: init recursive calls: 24. After deopt 25"
Windows reserves and only partially commits thread stack. For detecting more thread stack space for execution,  Windows installs one-shot page as guard page just before the current commited edge. It will trigger STACK_OVERFLOW_EXCEPTION when lands on last 4 pages of thread stack space. StackYellowPages default value is 2 on Windows (plus 1 page of StackRedPages, 3 pages guarded by hotspot) so the exception happens one page before Yellow pages. Same route executed second time will have one more page brought in, this leads same execution with different stack depth(interpreter mode). We need match Windows settings so the stack overflow exception will not happen before Yellow pages.

Reviewed-by: dholmes
2013-06-18 09:08:35 -07:00
Zhengyu Gu
43c33d40c3 Merge 2013-06-18 09:34:16 -04:00
Zhengyu Gu
61a30f035b 8013651: NMT: reserve/release sequence id's in incorrect order due to race
Fixed NMT race condition for realloc, uncommit and release

Reviewed-by: coleenp, ccheung
2013-06-18 08:44:08 -04:00
David Chase
7ddef5cd69 8002160: Compilation issue with adlc using latest SunStudio compilers
Modify declaration of 'swap' overloading; dodge optimizer bug in c1_LIR.cpp

Reviewed-by: kvn, jrose
2013-06-17 12:35:53 -04:00
Staffan Larsen
055cce652b 8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02:00
Chris Hegarty
ae4642e749 Merge 2013-06-17 11:17:49 +01:00
Vladimir Kozlov
55f6f35697 Merge 2013-06-14 16:33:34 -07:00
Alejandro Murillo
a8616cb1c2 8016567: new hotspot build - hs25-b38
Reviewed-by: jcoomes
2013-06-14 07:27:22 -07:00
Alejandro Murillo
15fcf20d64 Added tag hs25-b37 for changeset d8e8521557b2 2013-06-13 23:28:20 -07:00
Alejandro Murillo
a848daadd7 Merge 2013-06-13 23:28:20 -07:00
Bengt Rutisson
f18e968d43 8012265: VM often crashes on solaris with a lot of memory
Increase HeapBaseMinAddress for G1 from 256m to 1g on Solaris x86

Reviewed-by: mgerdin, coleenp, kvn
2013-06-14 08:02:32 +02:00
Niclas Adlertz
9129e6dc2b 8016157: During CTW: C2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block
Disable rematerialization for negD node

Reviewed-by: kvn, roland
2013-06-14 01:19:56 +02:00