Commit Graph

5768 Commits

Author SHA1 Message Date
David Chase
05c34edee7 Merge 2013-11-14 13:38:49 -08:00
David Chase
19a06cc147 Merge 2013-11-14 15:58:12 -05:00
Erik Helin
66e2f70db7 Merge 2013-11-14 21:05:16 +01:00
Staffan Larsen
2dec2ad0dd 6626412: jstack using SA prints some info messages into err stream
Reviewed-by: coleenp, farvidsson, jbachorik, dsamersoff, sspitsyn
2013-11-14 20:03:15 +01:00
Staffan Larsen
44d7813397 6606002: jinfo doesn't detect dynamic vm flags changing
Reviewed-by: coleenp, jbachorik, sspitsyn
2013-11-14 19:30:07 +01:00
Albert Noll
901b435bc1 8028306: nsk stress tests, CodeCache fills, then safepoint asserts
Move handle_full_code_cache() out of block that forbids safepoints

Reviewed-by: kvn, iveresov
2013-11-14 19:27:07 +01:00
Morris Meyer
26d3366a82 8028319: ConflictingDefaultsTest.testReabstract spins when running with -mode invoke and -Xcomp
Change _abstract_method_handler to return AbstractMethodError i2c, c2i and c2iv entries.

Reviewed-by: kvn, vlivanov
2013-11-18 12:26:51 -08:00
Vladimir Ivanov
e7f6de784c 8028159: C2: compiler stack overflow during inlining of @ForceInline methods
Reviewed-by: roland, kvn
2013-11-14 09:14:39 -08:00
Christine Lu
28098bc78c Added tag jdk8-b116 for changeset c00b4d030504 2013-11-14 09:04:59 -08:00
Yumin Qi
f0947f266f Merge 2013-11-13 16:35:55 -08:00
Yumin Qi
7496b461e3 8025632: Remove all references to MagicLambdaImpl from Hotspot
MagicLambdaImpl was removed from jdk side, this should be done in vm side too

Reviewed-by: coleenp, hseigel, rdurbin
2013-11-13 16:24:33 -08:00
Coleen Phillimore
0ff8fc93db 8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field change
Create extra constant pool cache entries for invokespecial/InterfaceMethodref to hold the alternate resolution.

Reviewed-by: jrose, lfoltan, hseigel
2013-11-13 16:42:24 -05:00
Karen Kinnear
4b35aa3d1e 8027229: ICCE expected for >=2 maximally specific default methods
Need to process defaults for interfaces for invokespecial

Reviewed-by: lfoltan, hseigel, coleenp, jrose
2013-11-13 07:31:26 -08:00
Roland Westrelin
3fbc683322 8027572: assert(r != 0) failed: invalid
Null classes should be expected in profiles with conflicts

Reviewed-by: kvn, iveresov
2013-11-13 13:45:50 +01:00
Roland Westrelin
a5b4fba397 Merge 2013-11-13 01:50:14 -08:00
Roland Westrelin
44f0952afe 8027631: "unexpected profiling mismatch" error with new type profiling
Inlined method handle calls can call methods with different signatures

Reviewed-by: kvn, iveresov
2013-11-13 09:45:58 +01:00
Rickard Bäckman
9c845933bd 8028207: assert(_outcnt==1) failed: not unique in compile.cpp
Reviewed-by: iveresov, kvn
2013-11-12 14:52:48 +01:00
Roland Westrelin
31d2d5121a 8027632: assert(xtype->klass_is_exact()) failed: Should be exact at graphKit.cpp
Receiver type collected by profiling for default method may be interface

Reviewed-by: kvn, iveresov
2013-11-12 13:58:37 +01:00
Rickard Bäckman
0ef4539a9f 8028198: SIGSEGV in PhaseIdealLoop::build_loop_late_post
Reviewed-by: iveresov, kvn
2013-11-12 13:47:57 +01:00
Albert Noll
18ca4cc301 8027593: performance drop with constrained codecache starting with hs25 b111
Fixed proper sweeping of small code cache sizes

Reviewed-by: kvn, iveresov
2013-11-12 09:32:50 +01:00
Vladimir Kozlov
c632cad9d5 8024830: SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get
Exclude last input argument's stack slots from vector's spilling masks.

Reviewed-by: iveresov
2013-11-11 11:53:33 -08:00
Mikael Gerdin
0a6481ef3a Merge 2013-11-08 23:49:20 +00:00
David Chase
4b4d4f9ffe Merge 2013-11-08 14:19:55 -08:00
Stefan Johansson
10847a8fd1 8027960: Assertion assert(end >= start) failed during nightly testing on solaris
Needed to update _space_alignment in generation sizer to ensure correct sizing of spaces.

Reviewed-by: jmasa, tschatzl
2013-11-08 17:46:53 +01:00
Mikael Gerdin
90ed74aa8c Merge 2013-11-11 16:20:48 +01:00
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