Commit Graph

5164 Commits

Author SHA1 Message Date
Tao Mao
6f445df42a Merge 2013-08-01 17:17:52 -07:00
Albert Noll
4ca00ef5a6 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
Removed part of the test that required the VM to start up with -XX:ReservedCodeCacheSize=2048m

Reviewed-by: kvn, rbackman
2013-08-01 16:01:32 -07:00
Christian Tornqvist
6596ca7512 8009407: runtime/8000968/Test8000968.sh has incorrect check for proper config
Runtime/8000968/Test8000968.sh has incorrect check for proper config

Reviewed-by: coleenp, mseledtsov, sspitsyn, hseigel
2013-08-01 22:25:11 +02:00
Christian Tornqvist
00b23c2eb8 8014294: Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle
Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle

Reviewed-by: coleenp, sspitsyn
2013-08-01 22:20:00 +02:00
Mikhailo Seledtsov
fd111e0d53 8020614: OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output
OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output

Reviewed-by: kvn, ctornqvi, dholmes
2013-08-01 22:15:40 +02:00
Bengt Rutisson
fbf4750c28 8022051: G1: Remove some unused G1 flags
Reviewed-by: tschatzl, jmasa
2013-08-01 17:29:49 +02:00
Christine Lu
bba02437ae Added tag jdk8-b101 for changeset 612246822cf0 2013-08-01 04:56:11 -07:00
Bengt Rutisson
a1e1caf8ba 8021879: G1: G1HeapRegionSize flag value not updated correctly
Reviewed-by: tschatzl, jmasa
2013-08-01 09:35:04 +02:00
Bengt Rutisson
5a10114616 8021967: Deprecate -XX:DefaultMaxRAMFraction
Reviewed-by: tschatzl, jmasa, kvn, tamao
2013-08-01 07:03:07 +02:00
David Holmes
e6a94c002a Merge 2013-07-31 19:05:03 -04:00
Frederic Parain
c5c13b6ad7 Merge 2013-07-31 08:28:18 -07:00
Calvin Cheung
7e63c7bb0f 8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases
Added checking for gcc and simplified the sig_handler() in the test case

Reviewed-by: dcubed, coleenp, minqi, dlong
2013-07-30 14:14:25 -07:00
Christian Thalinger
5555a381fb 8016474: Crash in sun.reflect.UnsafeObjectFieldAccessorImpl.get
C1's GetUnsafeObject G1 pre-barrier uses the wrong type to read the klass pointer.

Reviewed-by: iveresov, kvn
2013-07-29 16:32:38 -07:00
Igor Ignatyev
16b4f55129 8021120: TieredCompilation can be enabled even if TIERED is undefined
Reviewed-by: kvn, dholmes
2013-07-29 11:54:18 +04:00
Carlos Lucasius
eab4ed5adb Merge 2013-07-27 17:23:11 -04:00
Tao Mao
5ce100bbd1 Merge 2013-07-26 13:34:22 -07:00
Vladimir Kozlov
8e2181cb13 8008938: TieredCompilation should be default
Switch on TieredCompilation by default

Reviewed-by: twisti
2013-07-26 12:37:39 -07:00
Frederic Parain
b4094e9fa8 8019845: Memory leak during class redefinition
Reviewed-by: acorn, jmasa, coleenp, dcubed, mgerdin
2013-07-26 15:24:32 +00:00
Frederic Parain
6ede7eb0ed Merge 2013-07-26 05:54:01 -07:00
Alejandro Murillo
31b3d4939e 8021566: new hotspot build - hs25-b44
Reviewed-by: jcoomes
2013-07-26 04:01:41 -07:00
Alejandro Murillo
4180daed71 Added tag hs25-b43 for changeset b29dcea3e5a4 2013-07-26 03:48:16 -07:00
Alejandro Murillo
d92f0f1dc3 Merge 2013-07-26 03:48:15 -07:00
David Holmes
b3c95408b2 8021314: minimal1.make needs to force off components not supported by the minimal VM
Reviewed-by: coleenp, bpittore
2013-07-25 21:05:29 -04:00
Jiangli Zhou
eac2213397 Merge 2013-07-25 18:12:02 -04:00
Hiroshi Yamauchi
6060a2999c 6412968: CMS Long initial mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-25 11:07:23 -07:00
Jon Masamitsu
7d582a33d1 Merge 2013-07-25 07:02:45 -07:00
Christine Lu
c8e70c6dcc Added tag jdk8-b100 for changeset 9493b1a85536 2013-07-25 03:18:31 -07:00
David Holmes
6ade50a062 8020799: Allow customization of hotspot source directories and files
Reviewed-by: kvn, dlong
2013-07-24 19:23:26 -04:00
Morris Meyer
80b04bb48e Merge 2013-07-24 13:54:03 -07:00
Thomas Schatzl
93e5db7033 8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build"
Remove the @build tag and replace it by a @run tag so that the test gets executed

Reviewed-by: brutisso, mgerdin
2013-07-24 10:07:37 +02:00
Yumin Qi
7f14f4a628 Merge 2013-07-24 08:04:15 +02:00
Yumin Qi
0840008f85 Merge 2013-07-23 12:50:15 -07:00
Hiroshi Yamauchi
5c9dbad612 6990419: CMS Remaining work for 6572569: consistently skewed work distribution in (long) re-mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-23 09:49:11 -07:00
Yunda
65d83871e2 8011888: sa.js: TypeError: [object JSAdapter] has no such function "__has__"
Reviewed-by: sla, sundar, kmo
2013-07-23 14:32:37 +02:00
Yumin Qi
aebaf1978d Merge 2013-07-22 22:21:57 -07:00
Eric McCorkle
dd70c34130 8019632: Method parameters are not copied in clone_with_new_data
Add code to copy method parameters data in clone_with_new_data

Reviewed-by: coleenp, sspitsyn
2013-07-22 17:57:42 -04:00
Calvin Cheung
3102612ca2 8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code
Added -DLINUX to the gcc command and improved the .sh script

Reviewed-by: dcubed, dholmes, minqi
2013-07-19 14:54:54 -07:00
Yumin Qi
2bee4db29d 8012263: ciReplay: gracefully exit & report meaningful error when replay data parsing fails
Find_method could return NULL so need explicitly check if there is error after parse_method, exit on error to avoid crash.

Reviewed-by: kvn, twisti
2013-07-19 14:43:45 -07:00
Morris Meyer
30902b737d Merge 2013-07-19 13:59:25 -07:00
Yumin Qi
e7cb3dfa22 Merge 2013-07-19 11:17:19 -07:00
Markus Grönlund
c6cbd09027 8020547: Event based tracing needs a UNICODE string type
Reviewed-by: egahlin, rbackman, dcubed, brutisso, acorn
2013-07-19 17:56:27 +02:00
David Holmes
aa91e0674a 8016538: volatile double access via Unsafe.cpp is not atomic
Volatile jdouble load/store is not atomic, fix by using of existing volatile jlong operations which are atomic for jdouble.

Reviewed-by: kvn, vladidan, jrose
2013-07-19 08:34:48 -07:00
Yumin Qi
a58e25d0b4 Merge 2013-07-18 18:00:39 -07:00
Calvin Cheung
1a1e83be6a 8004872: Early loading of HashMap and StringValue under -XX:+AggressiveOpts can be removed
This fix also removes the -XX:+UseStringCache option

Reviewed-by: dholmes, acorn, iklam
2013-07-18 14:57:51 -07:00
Daniel D. Daugherty
c2c0ba529a Merge 2013-07-18 12:35:55 -07:00
Daniel D. Daugherty
c421e7a0d3 Merge 2013-07-18 12:05:32 -07:00
Alejandro Murillo
0c344951cc 8020797: new hotspot build - hs25-b43
Reviewed-by: jcoomes
2013-07-18 09:35:02 -07:00
Alejandro Murillo
9a2397d3b9 Added tag hs25-b42 for changeset 72a811d263ec 2013-07-18 09:25:07 -07:00
Alejandro Murillo
18c3256b56 Merge 2013-07-18 09:25:06 -07:00
David Simms
71ca890b66 8020697: jniCheck.cpp:check_is_obj_array asserts on TypeArrayKlass::cast(aOop->klass())
Reviewed-by: dcubed, fparain, dholmes
2013-07-18 06:47:15 -04:00
Christine Lu
b2fe68d0a5 Added tag jdk8-b99 for changeset 009e3b20a47e 2013-07-18 03:38:10 -07:00
Carlos Lucasius
d1e961d31c Merge 2013-07-18 00:52:54 -04:00
Jiangli Zhou
3c7f50e9f2 Merge 2013-07-17 17:14:50 -07:00
Jiangli Zhou
3dfcb4125e 8020309: Eliminate InstanceKlass::_cached_class_file_len
Use JvmtiCachedClassFileData.

Reviewed-by: iklam, sspitsyn, dcubed
2013-07-17 18:06:29 -04:00
Calvin Cheung
ef70244a9a 8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20
Added (sig < MAXSIGNUM) check in jsig.c

Reviewed-by: dholmes, acorn
2013-07-17 12:22:57 -07:00
Rickard Bäckman
2d77390705 8020701: Avoid crashes in WatcherThread
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
David Katleman
6043666187 Merge 2013-07-16 15:15:43 -07:00
Joseph Provino
b573023374 Merge 2013-07-16 12:20:08 -04:00
Joseph Provino
b5c0da41b9 8011569: ARM -- avoid native stack walking
ARM compilers do not emit FramePointer on each native frame by default

Reviewed-by: dholmes, zgu
2013-07-16 10:55:48 -04:00
Tao Mao
4b6898af4a Merge 2013-07-15 15:14:58 -07:00
Vladimir Kozlov
665bf36b6f 8020433: Crash when using -XX:+RestoreMXCSROnJNICalls
Remove StubRoutines::x86::_mxcsr_std and use StubRoutines::_mxcsr_std

Reviewed-by: jrose
2013-07-15 10:28:32 -07:00
Carlos Lucasius
235c30f21c Merge 2013-07-15 12:24:32 -04:00
Morris Meyer
bb62cf25ed Merge 2013-07-15 06:27:46 -07:00
Alejandro Murillo
f442e1dad8 8020382: new hotspot build - hs25-b42
Reviewed-by: jcoomes
2013-07-12 17:08:52 -07:00
Alejandro Murillo
47f6cf4392 Added tag hs25-b41 for changeset f88df7eff51e 2013-07-12 16:53:40 -07:00
Alejandro Murillo
9cff99a4d5 Merge 2013-07-12 16:53:39 -07:00
Vladimir Kozlov
1338c067aa 8007898: Incorrect optimization of Memory Barriers in Matcher::post_store_load_barrier()
Generate one "fat" membar instead of set of barriers for volitile store

Reviewed-by: roland
2013-07-12 14:03:10 -07:00
Vladimir Kozlov
2d3b117249 8020215: Different execution plan when using JIT vs interpreter
Fix bytecode analyzer

Reviewed-by: twisti
2013-07-12 14:01:37 -07:00
David Katleman
17190821f8 Merge 2013-07-11 14:33:54 -07:00
David Katleman
d939aea838 8020414: JDK8 b98 source with GPL header errors
Reviewed-by: darcy, lancea, iris
2013-07-11 14:07:26 -07:00
Tao Mao
2e0f5d85ff Merge 2013-07-11 11:45:09 -07:00
David Katleman
9089220ded Added tag jdk8-b98 for changeset 9402036a05e2 2013-07-11 10:13:37 -07:00
Bengt Rutisson
0f82640543 8020155: PSR:PERF G1 not collecting old regions when humongous allocations interfer
Take _last_young_gc into account when deciding on starting a concurrent mark. Also reviewed-by: per.liden@oracle.com.

Reviewed-by: tschatzl, johnc
2013-07-11 11:33:27 +02:00
Roland Westrelin
d9ae342dff Merge 2013-07-11 01:11:52 -07:00
Albert Noll
93d49935a9 8016749: -XX:+UseISM fails an assert(obj->is_oop()) when running SPECjbb2005
Remove obsolete code that relates to ISM which was used only on Solaris 8.

Reviewed-by: kvn, twisti
2013-07-10 13:33:56 -07:00
Erik Helin
54b1857550 8013939: Metaspace capacity not available
Reviewed-by: tschatzl, mgerdin, stefank
2013-07-10 15:28:43 +02:00
Christian Thalinger
fa834be249 Merge 2013-07-09 22:00:04 -07:00
Karen Kinnear
de0c86b0b4 Merge 2013-07-09 22:48:52 +02:00
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
David Chase
d6402d4452 8010124: JVM_GetClassContext: use GrowableArray instead of KlassLink
Replace linked data structure with array (performance)

Co-authored-by: Christian Thalinger <christian.thalinger@oracle.com>
Reviewed-by: kvn
2013-06-13 15:39:47 -04:00
David Katleman
ddf560776e Added tag jdk8-b94 for changeset 847c7c6c4e4a 2013-06-13 09:48:27 -07:00
Erik Helin
2eab1610b0 8015683: object_count_after_gc should have the same timestamp for all events
Reviewed-by: mgerdin, stefank
2013-06-12 15:21:41 +02:00
Erik Helin
f9c8b8769a 8016170: GC id variable in gcTrace.cpp should use typedef GCId
Reviewed-by: johnc, jwilhelm, jmasa
2013-06-12 15:50:14 +02:00
Rickard Bäckman
9a67229e2f 8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
Reviewed-by: jrose, kvn, mgronlun
2013-06-12 11:17:39 +02:00
David Simms
1859ec2556 6671508: JNI GetPrimitiveArrayCritical should not be callable on object arrays
Checked JNI now reports error for Get/ReleasePrimitiveArrayCritical on object arrays

Reviewed-by: dholmes, acorn
2013-07-16 07:33:29 +02:00
Tim Bell
a47de580e7 8015759: hotspot changes needed to compile with Visual Studio 2012
Reviewed-by: anthony, dholmes, dcubed
2013-07-15 23:23:15 -04:00
Rickard Bäckman
63912d82f0 Merge 2013-07-15 12:06:50 +02:00
David Simms
2d5af88356 8019324: assert(_f2 == 0 || _f2 == f2) failed: illegal field change
Reviewed-by: dholmes, rbackman
2013-07-15 11:35:10 +02:00
Frederic Parain
0f4447e6dd Merge 2013-07-15 00:23:48 -07:00
Christian Tornqvist
e67d425245 Merge 2013-07-12 20:47:23 +02:00
Peter Allwin
221308625d 7162400: Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand
Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand

Reviewed-by: dcubed, dholmes, sspitsyn, mgerdin, ctornqvi, dsamersoff
2013-07-12 18:43:27 +02:00
Zhengyu Gu
859de70b8a Merge 2013-07-12 04:35:52 -07:00
Zhengyu Gu
9ff3405151 8012241: NMT huge memory footprint, it usually leads to OOME
Enforce memory limitation on NMT to prevent JVM OOM

Reviewed-by: acorn, dcubed, minqi
2013-07-11 13:15:12 -04:00
Frederic Parain
c716fa083c 7143807: ResourceMark nesting problem in stringStream
Reviewed-by: kvn, dcubed
2013-07-10 15:49:15 +00:00
Rickard Bäckman
2977c8fca3 8016444: Duplicate zombie check in safe_for_sender
Reviewed-by: dholmes, sla
2013-06-12 09:49:42 +02:00
Volker Simonis
8ce6e0db3d 7060111: race condition in VMError::report_and_die()
Reviewed-by: zgu, coleenp
2013-07-01 09:13:19 +00:00
Lois Foltan
17ebe26fa0 7007040: Check of capacity paramenters in JNI_PushLocalFrame is wrong
Changed AND to OR

Reviewed-by: coleenp, hseigel
2013-06-30 09:59:08 -04:00
Daniel D. Daugherty
326b206183 Merge 2013-06-29 11:55:09 -07:00
Nils Loodin
5fe1de50f1 Merge 2013-06-28 14:05:27 +02:00
Ioi Lam
8d048d554d 8016075: Win32 crash with CDS enabled and small heap size
Fixed MetaspaceShared::is_in_shared_space

Reviewed-by: coleenp, hseigel
2013-06-27 10:03:21 -07:00
Kevin Walls
e6cc930488 Merge 2013-06-26 11:00:11 +02:00