Commit Graph

5679 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
9b2253fcab Merge 2013-11-11 05:05:36 -08:00
Jesper Wilhelmsson
c6da83319b 8028093: Initial young size is smaller than minimum young size
Remove min_gen1_size argument from adjust_gen0_sizes()

Reviewed-by: tschatzl, brutisso
2013-11-11 13:50:10 +01:00
Jesper Wilhelmsson
2ec0e87f43 8027911: Assertion in the collector policy when running gc/arguments/TestMaxNewSize.java
Update NewSize when _initial_gen0_size is changed

Reviewed-by: tschatzl, brutisso
2013-11-10 00:07:29 +01:00
Alkesey Timofeev
722d25b2dd 8027237: New tests on ReservedSpace/VirtualSpace classes
Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class

Reviewed-by: stefank, zgu
2013-11-08 16:48:21 +01:00
Alejandro Murillo
7365de3e25 8028061: new hotspot build - hs25-b59
Reviewed-by: jcoomes
2013-11-08 07:13:57 -08:00
Alejandro Murillo
db344926d8 Added tag hs25-b58 for changeset 20483ee5d8d8 2013-11-08 07:02:54 -08:00
Alejandro Murillo
4bfde2eab7 Merge 2013-11-08 07:02:53 -08:00
Jon Masamitsu
e2ef3e89e7 8024483: assertion failure: (!mirror_alive || loader_alive) failed:
Reviewed-by: brutisso, tschatzl, mgerdin
2013-11-08 06:14:21 -08:00
Vladimir Ivanov
505ac76763 8023037: Race between ciEnv::register_method and nmethod::make_not_entrant_or_zombie
Reviewed-by: kvn, iveresov
2013-11-08 01:13:11 -08:00
Christine Lu
684f7fa440 Added tag jdk8-b115 for changeset bafd61947e5d 2013-11-07 08:16:14 -08:00
David Chase
0ff0678acb Merge 2013-11-07 10:02:28 -05:00
Thomas Schatzl
6f46da6198 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
Change checks for isHumongous() to continuesHumongous() as installing a code root for a humongous object is valid, but not for continuations of humongous objects. Cleaned up asserts.

Reviewed-by: jmasa, tamao
2013-11-07 15:17:10 +01:00
Mikael Vidstedt
e80dce6a4d 8026775: nsk/jvmti/RedefineClasses/StressRedefine crashes due to EXCEPTION_ACCESS_VIOLATION
Uncommon trap blob did not bang all the stack shadow pages

Reviewed-by: kvn, twisti, iveresov, jrose
2013-11-06 06:51:24 -08:00
Alejandro Murillo
930baab448 Merge 2013-11-05 14:06:23 -08:00
Igor Veresov
c78419253b Merge 2013-11-05 02:29:41 -08:00
Igor Veresov
c342a79faf 8017065: C2 allows safepoint checks to leak into G1 pre-barriers
Make all raw loads strictly respect control dependencies, make sure RCE doesn't move raw loads, add verification of G1 pre-barriers.

Reviewed-by: kvn, roland
2013-11-05 01:57:18 -08:00
Igor Veresov
7899a729a9 8027751: C1 crashes in Weblogic with G1 enabled
Keep T_OBJECT operands in registers for logical operations on x64

Reviewed-by: kvn, roland
2013-11-05 00:59:30 -08:00
Roland Westrelin
c8757a5edd 8027445: SIGSEGV at TestFloatingDecimal.testAppendToDouble()I
String.equals() intrinsic shouldn't use integer length input in pointer arithmetic without an i2l.

Reviewed-by: kvn, twisti
2013-11-04 21:59:54 +01:00
Rickard Bäckman
897e6d41f6 8027622: java.time.Instant.create failing since hs25-b56
Reviewed-by: kvn, iveresov
2013-11-04 10:44:46 +01:00
Alejandro Murillo
2c2fcae7df Merge 2013-11-02 13:02:59 -07:00
Markus Grönlund
93c7dd5bfd Merge 2013-11-02 20:56:18 +01:00
Markus Grönlund
49dc297cc1 Merge 2013-11-01 17:10:31 +00:00
Jesper Wilhelmsson
0fa3a71c8a 8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector

Major cleanup of the collectorpolicy classes

Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Alejandro Murillo
38bf4f6aa6 8027580: new hotspot build - hs25-b58
Reviewed-by: jcoomes
2013-11-01 08:35:58 -07:00
Alejandro Murillo
c544fbe101 Added tag hs25-b57 for changeset 6290e790c312 2013-11-01 08:26:55 -07:00
Alejandro Murillo
473901ee62 Merge 2013-11-01 08:26:54 -07:00
Markus Grönlund
6529c5b95b Merge 2013-11-01 15:56:06 +01:00
Coleen Phillimore
b1689ab022 8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use MethodHandle
8026948: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint might not work with anonymous classes

Walk methods in breakpoints for marking on stack so they aren't deallocated by redefine classes.  Use class_holder rather than class_loader to keep GC from reclaiming class owning the method.

Reviewed-by: sspitsyn, ehelin, sla
2013-11-01 10:32:36 -04:00
Lana Steuck
d0a64fad1b Merge 2013-10-31 16:31:31 -07:00
Igor Veresov
7e10db0ef4 Merge 2013-10-31 15:04:43 -07:00
Igor Veresov
2775c9a68e Merge 2013-10-31 14:54:14 -07:00
Erik Helin
81eb5be18f Merge 2013-10-31 21:20:00 +01:00
Christine Lu
05b28dbe44 Added tag jdk8-b114 for changeset 07a68f9401e4 2013-10-31 12:36:10 -07:00
Coleen Phillimore
535b489554 8027616: Off by one error in putback for compressed oops nashorn performance improvement
Should compare bounds greater than or equal 4G when deciding if shift is needed or CDS area + compressed class space are within 4G of each other.

Reviewed-by: stefank, hseigel, zgu
2013-10-31 14:11:02 -04:00
Igor Veresov
7a38dabd09 8024919: G1: SPECjbb2013 crashes due to a broken object reference
Pass correct new value to post_barrer() in Unsafe.getAndSetObject() C1 intrinsic

Reviewed-by: kvn, roland
2013-10-31 04:16:40 -07:00
Igor Veresov
e43ac25584 8026735: Stream tests throw java.lang.IncompatibleClassChangeError
Put a band-aid to disable CHA-based inlining for interfaces with default methods in C1

Reviewed-by: kvn, twisti
2013-10-30 22:55:11 -07:00
Vladimir Danushevsky
42e466665d Merge 2013-10-30 16:31:33 -07:00
Calvin Cheung
3a87356f24 Merge 2013-10-30 14:02:27 -07:00
Lana Steuck
fdb505344e Merge 2013-10-30 13:43:16 -07:00
Joseph Provino
3ca0c7e694 Merge 2013-10-30 16:06:48 -04:00
Karen Kinnear
629bbe0188 Merge 2013-10-30 09:26:44 -07:00
Karen Kinnear
ca92769602 8027304: Lambda: inheriting abstract + 1 default -> default, not ICCE
Reviewed-by: hseigel, zgu
2013-10-30 09:11:04 -07:00
Mikael Gerdin
0b4ed553d6 8027252: Crash in interpreter because get_unsigned_2_byte_index_at_bcp reads 4 bytes
Use 2-byte loads to load indexes from the byte code stream to avoid out of bounds reads.

Reviewed-by: coleenp, sspitsyn
2013-10-30 15:35:25 +01:00
Rickard Bäckman
612252d7a2 8027444: mathExact: assert(i < _max) failed: oob: i=1, _max=1
Reviewed-by: duke
2013-10-30 13:14:09 +01:00
David Katleman
572d876a31 Merge 2013-10-29 14:56:30 -07:00
David Katleman
bcee54554d Merge 2013-10-28 16:02:40 -07:00
Lana Steuck
e95dd7d93a Merge 2013-10-28 12:25:44 -07:00
Dmitry Samersoff
3e0a2a86bf 8026950: Nits in agent ps_proc.c file breaks compilation of open hotspot
Fixed two compilation-breaking nits

Reviewed-by: sla, dholmes
2013-10-28 21:41:48 +04:00
Bengt Rutisson
f12f991935 8027132: Print deprecation warning message for the flags controlling the CMS foreground collector
Reviewed-by: stefank, ehelin, ysr, tschatzl
2013-10-28 13:27:57 +01:00
Rickard Bäckman
4d9e812aa2 8027353: Exact intrinsics: assert(n != NULL) failed: must not be null
Reviewed-by: kvn, roland
2013-10-28 08:34:10 +01:00
Igor Veresov
1c02aa59c9 Merge 2013-10-28 17:32:02 -07:00
Igor Veresov
bb38912be1 Merge 2013-10-28 15:16:17 -07:00
Roland Westrelin
1a809c454a Merge 2013-10-28 12:21:00 -07:00
Roland Westrelin
9ba485b29f 8027140: Assertion in compiler when running bigapps/Kitchensink/stability
Filter() code for TypeKlassPtr not moved when permgen removal was introduced

Reviewed-by: twisti, iveresov
2013-10-28 09:58:59 +01:00
Joseph Provino
716d7904c5 Merge 2013-10-27 14:11:06 -04:00
Calvin Cheung
bea255ee35 Merge 2013-10-25 22:06:43 -07:00
Albert Noll
87fe2fdf42 8026949: -Xint flag prints wrong warning: Initialization of C1 thread failed (no space to run compilers)
Exit compiler threads early during startup so that wrong error message is not printed

Reviewed-by: iveresov, twisti
2013-10-25 22:57:13 +02:00
Alejandro Murillo
95cb22eb41 8027173: new hotspot build - hs25-b57
Reviewed-by: jcoomes
2013-10-25 13:43:39 -07:00
Alejandro Murillo
854686678b Added tag hs25-b56 for changeset 13045b381bc9 2013-10-25 13:29:18 -07:00
Alejandro Murillo
2fc1606df2 Merge 2013-10-25 13:29:17 -07:00
Niclas Adlertz
651b1c2f84 Merge 2013-10-25 12:40:10 -07:00
Coleen Phillimore
3e6630c07b 8024927: Nashorn performance regression with CompressedOops
Allocate compressed class space at end of Java heap.  For small heap sizes, without CDS, save some space so compressed classes can have the same favorable compression as oops

Reviewed-by: stefank, hseigel, goetz
2013-10-25 15:19:29 -04:00
John Coomes
ca4a0c5c64 Merge 2013-10-25 08:38:42 -07:00
Harold Seigel
4e192289d4 Merge 2013-10-25 11:13:11 -04:00
Harold Seigel
bf7f4866eb 8026822: metaspace/flags/maxMetaspaceSize throws OOM of unexpected type.java.lang.OutOfMemoryError: Compressed class space
Incorporate chunk size when seeing if OutOfMemoryError was caused by Metaspace or Compressed class space.

Reviewed-by: stefank, coleenp
2013-10-25 11:05:32 -04:00
Niclas Adlertz
d9f039a458 8026940: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Remove input to junk phi if they also become dead during post_allocate_copy_removal

Reviewed-by: roland
2013-10-25 10:13:40 +02:00
Jaroslav Bachorik
76ac5b0c28 8027294: Prepare hotspot for non TOD based uptime counter
Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime.

Reviewed-by: dholmes, sla
2013-10-25 09:07:58 +02:00
Gerard Ziemski
86cd1aaa73 8020753: JNI_CreateJavaVM on Mac OSX 10.9 Mavericks corrupts the callers stack size
Use hard-coded DEFAULT_MAIN_THREAD_STACK_PAGES = 2048 for 10.9

Reviewed-by: dcubed, iveresov
2013-10-24 22:19:48 -07:00
David Dehaven
be6a9b1f9c 8025673: [macosx] Disable X11 AWT toolkit
Disable but not completely remove the XAWT and headless toolkits on Mac OS X

Reviewed-by: dholmes
2013-10-24 20:47:18 -04:00
Christian Thalinger
cf3a7f1dcc Merge 2013-10-24 16:26:31 -07:00
Igor Veresov
986d2145ba Merge 2013-10-24 16:25:24 -07:00
Christian Thalinger
9620913796 8026328: Setting a breakpoint on invokedynamic crashes the JVM
Reviewed-by: jrose, roland
2013-10-24 16:23:07 -07:00
Igor Veresov
e1fbf928ef Merge 2013-10-24 16:14:28 -07:00
Calvin Cheung
ded45d0129 Merge 2013-10-24 17:20:39 -04:00
Roland Westrelin
6738fb5c5d 8026978: JSR292: fatal error: Type profiling not implemented on this platform
Force TypeProfileLevel to 0 on non x86

Reviewed-by: twisti
2013-10-24 19:32:34 +02:00
Christine Lu
38700d4889 Added tag jdk8-b113 for changeset 031674170429 2013-10-24 09:10:27 -07:00
Fredrik Arvidsson
508272e5f5 8024423: JVMTI: GetLoadedClasses doesn't enumerate anonymous classes
Rewrite of the getLoadedClasses() method implementation to include anonymous classes.

Reviewed-by: coleenp, sspitsyn
2013-10-24 10:02:02 +02:00
David Holmes
33d6b93e22 8026877: Error in opening JAR file when invalid jar specified with -Xbootclasspath/a on OpenJDK build
Reviewed-by: coleenp, twisti
2013-10-24 00:33:14 -04:00
Niclas Adlertz
fedbc5721f Merge 2013-10-23 19:22:28 +00:00
Vladimir Ivanov
cb5592b08e 8012941: JSR 292: too deep inlining might crash compiler because of stack overflow
Reviewed-by: kvn, twisti
2013-10-23 20:20:03 +04:00
Serguei Spitsyn
3375e14588 8023004: JSR 292: java.lang.RuntimeException: Original target method was called
Reviewed-by: jrose
2013-10-23 20:15:24 +04:00
Roland Westrelin
1b5bd82335 8024070: C2 needs some form of type speculation
Record unused type profile information with type system, propagate and use it.

Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Niclas Adlertz
e608f6fde3 8026939: assert(Reachblock != NULL) failed: Reachblock must be non-NULL
We can reach this state from phi input rematerialization, so pass in the Reaches of the predecessor

Reviewed-by: roland, twisti
2013-10-23 10:44:12 +02:00
Fredrik Arvidsson
e731a6d078 8026808: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failed with unexpected exit value
Fixes a bug with vmArgs when using JDKToolLauncher

Reviewed-by: sla, dholmes
2013-10-23 10:24:28 +02:00
Axel Siebenborn
13418d4800 8025728: Missing volatile specifier for field G1AllocRegion::_alloc_region
The field G1AllocRegion::_alloc_region needs to be declared volatile as it is used with that intention. Otherwise the compiler may generate the code that reloads the value which might have changed in the meantime, leading to spurious crashes.

Reviewed-by: iveresov, simonis, tschatzl
2013-10-23 10:23:06 +02:00
Albert Noll
ceb177b16f 8026407: VM crashes on linux-ppc and linux-i586 when there is not enough ReservedCodeCacheSize specified
Ensure currently required generation of AdapterHandlerLibrary::create_native_wrapper()

Reviewed-by: roland, iveresov
2013-10-23 10:00:39 +02:00
Harold Seigel
286c6a3d50 Merge 2013-10-22 22:14:57 -04:00
Ioi Lam
8703963160 Merge 2013-10-22 16:09:17 -07:00
Ioi Lam
0e4eda601c 8014910: deadlock between JVM/TI ClassPrepare event handler and CompilerThread
Revert changes in JDK-8008962

Reviewed-by: coleenp, sspitsyn
2013-10-22 14:29:02 -07:00
Alejandro Murillo
0ce7855814 Merge 2013-10-22 13:56:26 -07:00
Mikhailo Seledtsov
4ac64cd06d 8026809: [TESTBUG] Create regression test for JDK-8026041
Created simple regression test for the bug

Reviewed-by: hseigel, lfoltan, zgu
2013-10-22 15:54:50 -04:00
John Coomes
7ca427bc4f Merge 2013-10-22 12:03:50 -07:00
Lois Foltan
033c5b68ea 8026394: Eclipse fails with JDK8 build 111
If the resolved interface does not itself contain "clone" or "finalize" methods, the method/interface method resolution looks to the interface's super class, java.lang.Object.  With the JDK 8 interface method accessability check requirement, since these two methods are declared within Object as protected, they must be special cased in LinkResolver::check_method_accessability() in order to avoid an IAE.

Reviewed-by: acorn, dholmes
2013-10-22 14:47:59 -04:00
Rickard Bäckman
4b0c603628 Merge 2013-10-22 14:02:15 +00:00
Stefan Johansson
d46d24b7d4 8026848: -XX:+G1SummarizeRSetStats can result in wrong exit code and crash
Changed the use of %d to SIZE_FORMAT macro in format string when printing size_t values.

Reviewed-by: stefank, ehelin
2013-10-22 11:50:12 +02:00
Roland Westrelin
b94884a330 8026251: New type profiling points: parameters to methods
X86 interpreter and c1 type profiling for parameters on method entries

Reviewed-by: kvn, twisti
2013-10-22 09:51:47 +02:00
David Holmes
d45eace4fa Merge 2013-10-21 22:36:43 -04:00
David Holmes
e88385939f Merge 2013-10-21 21:06:20 -04:00
David Holmes
0eef926855 8026872: [TESTBUG] Classes OOMCrashClass4000_1.class and OOMCrashClass1960_2.class from runtime/ClassFile/ tests won't run on compact profiles
Reviewed-by: sla, sspitsyn
2013-10-21 20:51:03 -04:00
Igor Veresov
4db165a8d7 Merge 2013-10-21 17:34:27 -07:00