Commit Graph

6049 Commits

Author SHA1 Message Date
Albert Noll
234b4044ba 8028109: compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java crashes in RT_Baseline
Use non-relocatable code to load byte_map_base

Reviewed-by: kvn, roland
2013-12-04 09:31:17 +01:00
Serguei Spitsyn
4ede60461b Merge 2013-12-03 13:56:10 -08:00
Serguei Spitsyn
e820946a1e 8028126: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Solaris-sparc64 fastdebug builds: only current thread can flush its registers
Fix a race between VMOp_GetCurrentLocation reaching a safepoint and arget thread exiting from Java execution

Reviewed-by: sla, dholmes, dsamersoff
2013-12-03 15:41:35 -08:00
Karen Kinnear
536943884a 8028438: static superclass method masks default methods
Reviewed-by: hseigel, lfoltan, coleenp
2013-12-03 11:13:14 -08:00
Karen Kinnear
b5f2f33aaa 8026066: ICCE for invokeinterface static
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08:00
Stefan Johansson
5811b8eb93 8029329: tmtools tests fail with NPE (in the tool) when run with G1 and FlightRecorder
Now iterating over all committed (used) G1 regions instead of all reserved.

Reviewed-by: brutisso, dsamersoff, mgerdin
2013-12-03 12:01:18 +01:00
Erik Helin
aba1a79d81 Merge 2013-12-02 15:43:04 +01:00
Markus Grönlund
7c7027e087 Merge 2013-12-02 11:42:10 +01:00
Volker Simonis
f0010291f7 8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs
Fix code to allow testing on Fujitsu Sparc64 CPUs

Reviewed-by: kvn
2013-12-02 11:12:32 +01:00
Goetz Lindenmaier
46c4ef6572 8029396: PPC64 (part 212): Several memory ordering fixes in C-code
Memory ordering fixes in GC and other runtime code showing on PPC64.

Reviewed-by: kvn, coleenp
2013-12-02 10:26:14 +01:00
Vladimir Kozlov
1b2bf0be10 Merge 2013-12-05 15:13:12 -08:00
Volker Simonis
d767bd2dfd 8019929: PPC64 (part 107): Extend ELF-decoder to support PPC64 function descriptor tables
Extend ELF-decoder to support PPC64 function descriptor tables

Reviewed-by: kvn, zgu
2013-12-05 19:19:09 +01:00
Vladimir Danushevsky
bb7aae990f Merge 2013-12-01 22:35:15 -05:00
Alejandro Murillo
7426f563d3 8029367: new hotspot build - hs25-b62
Reviewed-by: jcoomes
2013-11-29 11:20:34 -08:00
Alejandro Murillo
dff92ee01f Added tag hs25-b61 for changeset d42eec86b5bd 2013-11-29 11:10:31 -08:00
Alejandro Murillo
2293c2eefe Merge 2013-11-29 11:10:30 -08:00
David Chase
4620107099 Merge 2013-11-29 11:32:45 -05:00
Christine Lu
4ba2e9f322 Added tag jdk8-b118 for changeset 283fe68e7f05 2013-11-28 08:23:04 -08:00
Goetz Lindenmaier
ecca1bcc72 8029015: PPC64 (part 216): opto: trap based null and range checks
On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.

Reviewed-by: kvn
2013-11-27 16:16:21 -08:00
Dmitry Samersoff
144769b78b 7050685: jsdbproc64.sh has a typo in the package name
Fixed typeo

Reviewed-by: sla, kmo, sspitsyn
2013-11-27 14:26:04 +04:00
Goetz Lindenmaier
fe89766184 8028515: PPPC64 (part 113.2): opto: Introduce LoadFence/StoreFence
Use new nodes for loadFence/storeFence intrinsics in C2.

Reviewed-by: kvn, dholmes
2013-11-26 18:38:19 -08:00
David Chase
78f1afbf45 8016839: JSR292: AME instead of IAE when calling a method
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.

Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
George Triantafillou
1ee6fad9ba 8028160: [TESTBUG] Exclude failing (runtime) jtreg tests using @ignore
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2013-11-26 16:03:57 -05:00
Lois Foltan
28557bc30e 8026065: InterfaceMethodref for invokespecial must name a direct superinterface
Add verification to check that invokespecial of an InterfaceMethodref names a method in a direct superinterface of the current class or interface in accordance with JSR 335, JVMS 4.9.2 Structural Constraints.

Reviewed-by: acorn, hseigel, coleenp
2013-11-26 09:52:22 -05:00
Stefan Johansson
22478ae2e0 8027675: Full collections with Serial slower in JDK 8 compared to 7u40
Reduced the number of calls to follow_class_loader and instead marked and pushed the klass holder directly. Also removed unneeded calls to adjust_klass.

Reviewed-by: coleenp, jmasa, mgerdin, tschatzl
2013-11-26 14:35:38 +01:00
Markus Grönlund
b1e3461fe5 8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
2013-11-23 12:25:13 +01:00
Markus Grönlund
9963570316 Merge 2013-11-23 09:56:59 +01:00
Alejandro Murillo
3646381ba6 8028815: new hotspot build - hs25-b61
Reviewed-by: jcoomes
2013-11-22 13:42:46 -08:00
Alejandro Murillo
faa4ee25ed Added tag hs25-b60 for changeset b8b59f498f73 2013-11-22 13:34:43 -08:00
Alejandro Murillo
5da49878a2 Merge 2013-11-22 13:34:41 -08:00
Goetz Lindenmaier
b4ded0bc2e 8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object
Also introduces the compiler oracle 'option' feature for PrintAssembly.

Reviewed-by: kvn
2013-11-22 12:14:09 -08:00
Markus Grönlund
1bb792465e Merge 2013-11-22 20:26:36 +01:00
Rickard Bäckman
c5b9d5ccd3 8028624: [TESTBUG] compiler/intrinsics/mathexact/DecExactLTest executes DecExactITest
Reviewed-by: kvn, twisti
2013-11-22 15:26:37 +01:00
Rickard Bäckman
57e01f1502 8028997: mathexact intrinsics are unstable
Reviewed-by: iveresov, kvn
2013-11-22 14:14:26 +01:00
Goetz Lindenmaier
7289ee4573 8028767: PPC64: (part 121): smaller shared changes needed to build C2
Smaller shared changes required to build the C2 compiler on PPC64.

Reviewed-by: kvn
2013-11-21 19:00:57 -08:00
Goetz Lindenmaier
a7c123880e 8028471: PPC64 (part 215): opto: Extend ImplicitNullCheck optimization
Fixed Implicit NULL check optimization for AIX, where the page at address '0' is only write-protected.

Reviewed-by: kvn
2013-11-21 18:29:34 -08:00
Vladimir Kozlov
aabed3781b Merge 2013-11-21 12:30:35 -08:00
Harold Seigel
34329af386 8028520: JVM should not throw VerifyError when a private method overrides a final method
Exclude private methods when checking for final method override.

Reviewed-by: kamg, coleenp, dholmes, mseledtsov
2013-11-21 14:41:13 -05:00
Christine Lu
2bb71f5f4c Added tag jdk8-b117 for changeset 797ce5564b97 2013-11-21 09:22:49 -08:00
Goetz Lindenmaier
d22bde2c91 8028580: PPC64 (part 114/120): Support for Call nodes with constants
Extends MachCall nodes so that they can issue constants to the constant table

Reviewed-by: kvn
2013-11-20 11:08:09 -08:00
Roland Westrelin
319bfa3852 8028308: nsk regression, assert(obj->is_oop()) failed: not an oop
Rbp not restored when stack overflow is thrown from deopt/uncommon trap blobs

Reviewed-by: kvn, iveresov
2013-11-20 12:46:08 +01:00
Joseph Provino
afe298eb7c 8028396: Minimal VM: undefined symbol: _ZN23JvmtiCurrentBreakpoints11metadata_doEPFvP8MetadataE
Minimal VM doesn't run

Reviewed-by: coleenp, dholmes
2013-11-19 16:26:54 -05:00
Volker Simonis
86fba81619 8028514: PPC64: Fix C++ Interpreter after '7195622: CheckUnhandledOops has limited usefulness now'
Fix CPP-interpreter after CheckUnhandledOops was re-enabled in the fastdebug build

Reviewed-by: kvn, dholmes, lfoltan
2013-11-19 11:53:58 -08:00
Sergey Gabdurakhmanov
e237fbfe1f 8028341: PSR:FUNC: SCOPE PARAMETER MISSING FROM THE -XX:+PRINTFLAGSFINAL
Reviewed-by: dcubed, sla
2013-11-18 08:21:19 +01:00
Staffan Larsen
92187d7583 8027630: SIGSEGV in const char*Klass::external_name()
Reviewed-by: coleenp, sspitsyn, mgronlun
2013-11-18 10:20:13 +01:00
Goetz Lindenmaier
c16bc98686 8028470: PPC64 (part 214): linux: extend signal handler to catch SIGTRAP on ppc64
Reviewed-by: kvn
2013-11-16 01:42:55 +01:00
Coleen Phillimore
3e62155fec 8028347: Rewriter::scan_method asserts with array oob in RT_Baseline
Fix reversing rewriting for invokespecial

Reviewed-by: jrose, hseigel
2013-11-15 17:20:22 -05:00
Markus Grönlund
689cc9ddb7 Merge 2013-11-15 21:39:27 +01:00
Goetz Lindenmaier
f9a0d6a4b5 8028401: PPC (part 117): Improve usability of adlc and format() functionality
Add additional, more verbose syntax checks in adlc. Fix printing constant's problem in format().

Reviewed-by: kvn
2013-11-15 12:01:00 -08:00
Vladimir Kozlov
fa597af116 Merge 2013-11-15 14:09:26 -05:00
Goetz Lindenmaier
13b13f5259 8024921: PPC64 (part 113): Extend Load and Store nodes to know about memory ordering
Add a field to C2 LoadNode and StoreNode classes which indicates whether the load/store should do an acquire/release on platforms which support it.

Reviewed-by: kvn
2013-11-15 11:05:32 -08:00
Alejandro Murillo
13cf514dff 8028444: new hotspot build - hs25-b60
Reviewed-by: jcoomes
2013-11-15 07:58:06 -08:00
Alejandro Murillo
a65e3d6622 Added tag hs25-b59 for changeset 0cee03c5f3b3 2013-11-15 07:50:05 -08:00
Alejandro Murillo
219223ad9c Merge 2013-11-15 07:50:04 -08:00
Goetz Lindenmaier
12b298218d 8003854: PPC64 (part 115): Introduce PostallocExpand that expands nodes after register allocation
Added ability in C2 to expand mach nodes to several mach nodes after register allocation

Reviewed-by: kvn
2013-11-14 19:24:59 -08:00
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
Goetz Lindenmaier
d8b9e9f681 8027968: Adapt PPC to 8024927: Nashorn performance regression with CompressedOops
Reviewed-by: coleenp, kvn
2013-11-07 11:47:11 +01:00
Goetz Lindenmaier
7b010e1c8c 8027969: Adapt PPC to 8026328: Setting a breakpoint on invokedynamic crashes the JVM
Reviewed-by: dholmes, coleenp, sspitsyn
2013-11-07 11:51:53 +01:00
Goetz Lindenmaier
faa041f68f 8027966: Adapt PPC to 8023657: New type profiling points: arguments to call
Reviewed-by: dholmes
2013-11-07 11:44:53 +01:00
Goetz Lindenmaier
570b20f0f1 8027965: Adapt PPC to 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: dholmes
2013-11-07 11:42:26 +01:00
Goetz Lindenmaier
112120d3f9 8027964: Adapt PPC to 6843347: Boundary values in some public GC options cause crashes
Reviewed-by: dholmes
2013-11-07 11:40:38 +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
Vladimir Kozlov
39b0e57fdd Merge 2013-11-05 17:38:04 -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
Calvin Cheung
9fca48316e Merge 2013-10-21 17:26:46 -07:00
Alejandro Murillo
81ac3108d4 8023496: [jprt] build and test solaris 64-bits only
Reviewed-by: tbell, jcoomes
2013-10-21 14:38:11 -07:00
Jesper Wilhelmsson
9705a6e3f9 8026853: Prepare GC code for collector policy regression fix
Cleanup related to the NewSize and MaxNewSize bugs

Reviewed-by: tschatzl, jcoomes, ehelin
2013-10-21 18:56:20 +02:00
Jesper Wilhelmsson
5976b6915a 8026852: Use restricted_align_down in collector policy code
Moved restricted_align_down to globalDefinitions and renamed it align_size_down_bounded

Reviewed-by: stefank, mgerdin, tschatzl
2013-10-21 18:52:13 +02:00
Jesper Wilhelmsson
1123a5596c 8026851: Remove unnecessary code in GenRemSet
Removed the GenRemSet::rem_set_name() since we only have one remset.

Reviewed-by: stefank, mgerdin, tschatzl
2013-10-21 18:51:37 +02:00
Rickard Bäckman
e2efed4a9b 8026959: assert(!n->pinned() || n->is_MachConstantBase()) failed: only pinned MachConstantBase node is expected here
Reviewed-by: iveresov, roland
2013-10-21 15:31:16 +02:00
Erik Helin
27f1f8efe6 8025834: NPE in Parallel Scavenge with -XX:+CheckUnhandledOops
Reviewed-by: coleenp, mgerdin, sspitsyn
2013-10-21 14:20:47 +02:00
Stefan Karlsson
779c7d398a Merge 2013-10-21 01:04:01 -07:00
Stefan Karlsson
ddd9098a27 8026781: Add missing test to exercise -XX:+UseLargePagesInMetaspace
Reviewed-by: mgerdin, brutisso
2013-10-21 09:34:10 +02:00
Igor Ignatyev
1fbfd1734c 8026865: [TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions
Reviewed-by: twisti, iveresov
2013-10-21 09:21:41 +04:00
Igor Veresov
9bf565afeb Merge 2013-10-19 22:22:05 -07:00
Karen Kinnear
0e34fa065a 8026893: Push 8026365 to TL early and add test
Reviewed-by: dcubed, kamg
2013-10-19 18:32:34 -04:00
Igor Ignatyev
50b8567c55 8023318: compiler/whitebox tests timeout with enabled TieredCompilation
Reviewed-by: kvn, twisti
2013-10-19 21:54:46 +04:00
Igor Ignatyev
fce1adef81 8026414: [TESTBUG] Tests for Tiered/NonTiered levels
Reviewed-by: twisti, iveresov
2013-10-19 21:54:44 +04:00
Dmitry Samersoff
f6a5cb56ec 8026930: In ManagementAgent.start it should be possible to set the jdp.name parameter (hotspot part)
Pass one more property from Agent to JdpController

Reviewed-by: jbachorik, sla
2013-10-19 21:29:57 +04:00
Alejandro Murillo
801ca669e4 8026928: new hotspot build - hs25-b56
Reviewed-by: jcoomes
2013-10-19 08:52:21 -07:00
Roland Westrelin
3f8ae3e9b9 8024069: replace_in_map() should operate on parent maps
Type information gets lost because replace_in_map() doesn't update parent maps

Reviewed-by: kvn, twisti
2013-10-19 12:16:43 +02:00
Alejandro Murillo
b6747accdf Added tag hs25-b55 for changeset 9e1f4b025644 2013-10-18 21:30:43 -07:00
Alejandro Murillo
be7804bbf5 Merge 2013-10-18 21:30:42 -07:00
Calvin Cheung
e187f54e56 Merge 2013-10-18 19:44:40 -07:00
Morris Meyer
801b3e680e 8008242: VerifyOops is broken on SPARC
Fixed displacement issues in SPARC macroassembler and ensure that getClass intrinsic temporary result is T_METADATA

Reviewed-by: kvn, twisti
2013-10-18 12:15:32 -07:00
John Coomes
8d381f2b2e Merge 2013-10-18 12:10:44 -07:00
Dmitry Samersoff
7b5f358b92 Merge 2013-10-18 10:37:26 +00:00
Niclas Adlertz
8a2c02c416 Merge 2013-10-18 09:36:35 +00:00
Niclas Adlertz
3838ed7b68 8022783: Nashorn test fails with: assert(!def_outside->member(r))
Enables private copies of inputs for recent spill copies as well

Reviewed-by: kvn, twisti
2013-10-18 10:50:17 +02:00
Mikael Gerdin
376094224f 8026698: Incorrect error handling in Metaspace::allocate
Reviewed-by: stefank, jwilhelm
2013-10-18 09:31:59 +02:00
Karen Kinnear
4f064cafe6 8026365: NoClassDefinitionFound for anonymous class invokespecial
Reviewed-by: dcubed, kamg
2013-10-17 23:30:17 -04:00
Lana Steuck
c71f3cdbe6 Merge 2013-10-17 14:20:57 -07:00
Igor Veresov
d94fef24b5 Merge 2013-10-17 10:58:45 -07:00
Albert Noll
12fb9529af 8026708: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation
Increase size for the template interpreter accordingly

Reviewed-by: kvn, twisti
2013-10-17 19:47:04 +02:00
Dmitry Samersoff
5594fcb058 Merge 2013-10-17 17:01:04 +00:00
Christine Lu
1012033130 Added tag jdk8-b112 for changeset 0bbe54dca484 2013-10-17 09:40:51 -07:00
Staffan Larsen
6c0a73c972 Merge 2013-10-17 12:15:14 -04:00
Erik Joelsson
00982daf40 8026792: HOTSPOT: licensee reports a JDK8 build failure after 8005849/8005008 fixes integrated
Reviewed-by: dholmes, sla
2013-10-17 16:11:26 +02:00
Jon Masamitsu
b49c59f608 8025635: SoftReferences are not cleared before metaspace OOME are thrown
Reviewed-by: jcoomes, tamao, tschatzl, stefank
2013-10-17 06:29:58 -07:00
Eric Mccorkle
2be8957d81 8005810: Update Hotspot Serviceability Agent for Method Parameter Reflection and Generic Type Signature Data
Hotspot was updated to store method parameter reflection and generic type signature data at runtime.  Serviceability agent support was updated for this data

Reviewed-by: coleenp, minqi, sla
2013-10-17 16:45:08 +04:00
Dmitry Samersoff
d6f90baf17 8025812: tmtools/jmap/heap_config tests fail on Linux-ia32 because it Cant attach to the core file
Coredump store memsz elf field rounded up to page

Reviewed-by: dholmes, sla
2013-10-17 16:08:01 +04:00
Stefan Karlsson
79199b95bc 8026715: Remove the MetaDataDeallocateALot develop flag
Reviewed-by: coleenp, mgerdin
2013-10-17 08:42:41 +02:00
Stefan Karlsson
7bf2a9861b 8026707: JDK-8026391 broke the optimized build target
Reviewed-by: mgerdin, coleenp
2013-10-17 08:41:35 +02:00
Jungwoo Ha
e9f0b9af4a 8024954: CMS: CMSClassUnloadingMaxInterval is not implemented correctly. This change is also part of the fix for 8024483
Reviewed-by: mgerdin, brutisso, tschatzl
2013-10-16 15:14:37 -07:00
Harold Seigel
8a70ecee80 Merge 2013-10-16 15:26:12 -04:00
Calvin Cheung
e9b8ae64c9 Merge 2013-10-16 11:48:03 -07:00
Lois Foltan
21627fb02f 8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
Added check for NULL prior to continuation of method look up to avoid runtime crash during look up of Object's superclass' methods.

Reviewed-by: coleenp, hseigel
2013-10-16 14:32:05 -04:00
Igor Veresov
64b6d2b5e5 8009303: Tiered: incorrect results in VM tests stringconcat with -Xcomp -XX:+DeoptimizeALot on solaris-amd64
Do memory flow analysis in string concat optimizier to exclude cases when computation of arguments to StringBuffer::append has side effects

Reviewed-by: kvn, twisti
2013-10-16 11:13:15 -07:00
Volker Simonis
56bf9f42e0 8026703: Wrongly placed <xsl:import> element in Event-Based JVM Tracing .xsl files
Reviewed-by: sla, kamg
2013-10-16 15:06:39 +02:00
Thomas Schatzl
87c5582bac 8025925: jmap fails with "field _length not found in type HeapRegionSeq"
The change JDK-7163191 changed the data layout of a class that is referenced by the java code of the SA agent. This fix synchronizes the SA agent with that change.

Reviewed-by: sla, mgerdin
2013-10-16 11:46:06 +02:00
Volker Simonis
b2c4b12a12 8026487: PPC64: Implement 'os::fork_and_exec' on AIX
Reviewed-by: kvn, twisti
2013-10-16 10:52:41 +02:00
Fredrik Arvidsson
ec5d05699e 8025638: jmap returns 0 instead of 1 when it fails
Re-factored some code handling return values and fails/errors during tool execution.

Reviewed-by: sla, kevinw
2013-10-16 09:20:23 +02:00
Daniel D. Daugherty
232c4efbdb 7165611: implement Full Debug Symbols on MacOS X hotspot
Add MacOS X FDS support to hotspot; add minimal MacOS X FDS import support to jdk; add MacOS X FDS support to install; add MacOS X FDS support to root.

Reviewed-by: erikj, sla, dholmes, rdurbin, tbell, ihse
2013-10-15 08:25:43 -07:00
Stefan Karlsson
f323c934d7 8026392: Metachunks and Metablocks are using a too large alignment
Reviewed-by: coleenp, jmasa
2013-10-15 14:32:20 +02:00
Stefan Karlsson
f149d47720 8026391: The Metachunk header wastes memory
Reviewed-by: coleenp, jmasa
2013-10-15 14:28:51 +02:00
Stefan Karlsson
9f6e8976d0 Merge 2013-10-15 07:10:09 -07:00
Mikael Gerdin
444a15a09f 8015255: NPG: Don't waste fragment at the end of a VirtualSpaceNode before retiring it
Chunk up the last piece of committed memory in a VSN when getting a new one.

Reviewed-by: stefank, jmasa
2013-10-15 13:56:46 +02:00
Mikael Gerdin
3b3afe75fb Merge 2013-10-15 04:29:21 -07:00
Per Lidén
c6e227a3e6 8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
2013-10-15 11:44:47 +02:00
Per Lidén
b6426924cf 8024632: Description of InitialSurvivorRatio flag in globals.hpp is incorrect
Reviewed-by: brutisso, tschatzl, kmo, tamao
2013-10-15 11:42:50 +02:00
Per Lidén
908dd54639 8023158: hotspot/test/gc/7168848/HumongousAlloc.java fails 14 full gcs, expect 0 full gcs
Reviewed-by: brutisso, tschatzl
2013-10-15 11:38:47 +02:00
Thomas Schatzl
fa38a2edca 8026186: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Compilation failed
After a method rename in JDK-8014905 the mentioned test did not compile any more. Fix the uses of the affected method.

Reviewed-by: jwilhelm, mgerdin, jmasa
2013-10-15 11:18:42 +02:00
Albert Noll
7d4a3ec94e 8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice
Remove duplicate print

Reviewed-by: kvn, twisti
2013-10-15 08:38:35 +02:00
Rickard Bäckman
615376fb9b 8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Igor Veresov
073409c543 Merge 2013-10-23 16:25:48 -07:00
Christian Thalinger
be1ae599ee 8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms
Reviewed-by: iveresov, jrose
2013-10-23 15:44:12 -07:00
Igor Veresov
1c047b640d 8026495: JVM Crashes when started with -XX:+DTraceMethodProbes on Solaris x86_64
Fix wrong calling convention in LIR_Assembler::emit_unwind_handler(), T_METADATA support in calling convention generator, C1 register allocator

Reviewed-by: twisti, jrose
2013-10-23 11:15:24 -07:00
Karen Kinnear
72e7308263 8026299: invokespecial gets ICCE when it should get AME
Reviewed-by: ccheung, coleenp
2013-10-14 21:52:42 -04:00
Stefan Johansson
3e9df3ecf1 8025661: Ill-formed -Xminf and -Xmaxf options values interpreted as 0
Using strtod() instead of atof() when parsing -Xminf and -Xmaxf.

Reviewed-by: brutisso, pliden
2013-10-14 14:21:34 +02:00
Chris Hegarty
fafe7da1e5 Merge 2013-10-13 21:14:04 +01:00
Harold Seigel
7476c45011 8024667: VM crashes with "assert(method() != NULL) failed: must have set method"
Check if data is in shared spaces before deallocating it.

Reviewed-by: coleenp, dcubed
2013-10-12 15:39:16 -04:00
Gerard Ziemski
db171c7b5d 8025942: os::Bsd::available_memory() needs implementation
Implement using the host_statistics64() api.

Reviewed-by: dsamersoff, morris, dholmes, coleenp, hseigel, dcubed
2013-10-12 13:09:18 -04:00
Calvin Cheung
6e756e193c Merge 2013-10-11 22:22:19 -04:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
Jesper Wilhelmsson
588c91b042 8023643: G1 assert failed when NewSize was specified greater than MaxNewSize
Exit with an error if incompatible NewSize and MaxNeSize are set

Reviewed-by: brutisso, tschatzl
2013-10-12 00:49:19 +02:00
Jesper Wilhelmsson
354de63fbf Merge 2013-10-12 05:08:42 +00:00
Harold Seigel
f185cdb61e Merge 2013-10-11 17:08:22 -04:00
Alejandro Murillo
7b9107d173 8026265: new hotspot build - hs25-b55
Reviewed-by: jcoomes
2013-10-11 13:14:48 -07:00
Alejandro Murillo
a613a8bf3e Added tag hs25-b54 for changeset aa8bcabd9d44 2013-10-11 13:00:40 -07:00
Alejandro Murillo
87614bfc70 Merge 2013-10-11 13:00:40 -07:00
Lois Foltan
27c290a969 8026041: JVM crashes with assert "assert(is_updated()) failed: must not be clear" with -XX:+PrintGCApplicationConcurrentTime in -Xcomp mode
Prior to printing the time interval in RuntimeService::record_safepoint_begin(), check first that VM initialization is complete.

Reviewed-by: coleenp, dholmes, sla, ctornqvi
2013-10-11 15:33:08 -04:00
Coleen Phillimore
65286ffc39 Merge 2013-10-11 15:04:53 -04:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Coleen Phillimore
fa72ad21f9 8022592: assert at constantTag.cpp:57: ShouldNotReachHere()
More missing cases for JVM_CONSTANT_Method{Handle,Type}InError

Reviewed-by: hseigel, dcubed
2013-10-11 11:23:49 -04:00
Staffan Larsen
779f946d6b Merge 2013-10-11 14:57:27 +00:00
Jesper Wilhelmsson
d04b304568 8024776: Max/MinHeapFreeRatio descriptions should be more precise
Descriptions for Max/MinHeapFreeRatio updated

Reviewed-by: ehelin, jmasa
2013-10-11 16:18:27 +02:00
Fredrik Arvidsson
7f0264f548 8024425: VM_HeapDumper doesn't put anonymous classes in the heap dump
Switched from using SystemDictionary to using ClassLoaderDataGraph to get the anonymous classes included.

Reviewed-by: sla, sspitsyn
2013-10-11 14:08:02 +02:00
Fredrik Arvidsson
44c3da1ed0 8026199: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Compilation failed
Fixed a compilation failure due to changed method name

Reviewed-by: sla, jbachorik
2013-10-11 13:48:02 +02:00
Rickard Bäckman
0e8081e57b 8025657: compiler/intrinsics/mathexact/ConstantTest.java fails on assert in lcm.cpp on solaris x64
Reviewed-by: kvn, twisti
2013-10-11 12:06:14 +02:00
Vladimir Kozlov
9cac113087 Merge 2013-10-15 17:47:46 -07:00
Staffan Friberg
83e635a090 8026293: Schedule part of G1 pre-barrier late
Move rare executed part of G1 write barrier from hot path.

Reviewed-by: kvn, twisti, roland
2013-10-15 12:14:00 -07:00
Christian Thalinger
d03157f2cf 8026376: assert(false) failed: DEBUG MESSAGE: exception pc already set
Reviewed-by: kvn
2013-10-14 19:30:05 -07:00
Igor Veresov
db9a439624 Merge 2013-10-13 13:22:24 -07:00
David Chase
b1d7228bff 8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
Catch problem case, assert it matches valid input, new test

Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Roland Westrelin
c8bfc7e7d7 8026054: New type profiling points: type of return values at calls
X86 interpreter and c1 type profiling for return values at calls

Reviewed-by: kvn, twisti
2013-10-12 12:12:59 +02:00
Christian Thalinger
0fa4a576fd Merge 2013-10-11 19:51:31 -07:00
Niclas Adlertz
b1bfc48aaa Merge 2013-10-12 01:29:27 +00:00
Niclas Adlertz
55780c0bbd Merge 2013-10-11 19:16:52 +00:00
Christian Thalinger
7f46feeee2 8005173: assert(false) failed: DEBUG MESSAGE: exception oop must be empty (macroAssembler_x86.cpp:625)
Reviewed-by: kvn, iveresov
2013-10-11 10:14:02 -07:00
Niclas Adlertz
9215790d61 8011415: CTW on Sparc: assert(lrg.lo_degree()) failed:
Increased the LRG AllStack mask size since the previous size was not big enough when compiling huge methods (60k+ nodes)

Reviewed-by: kvn, roland, twisti
2013-10-11 13:10:22 +02:00
Calvin Cheung
3b62cc2221 Merge 2013-10-10 13:25:51 -07:00
Christine Lu
373c634bbb Added tag jdk8-b111 for changeset 269723de7103 2013-10-10 10:08:55 -07:00
Albert Noll
aef0d74e96 8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
Ensure ensure correct initialization of compiler runtime

Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Coleen Phillimore
24118e5deb Merge 2013-10-09 22:01:59 -04:00
Coleen Phillimore
62fc4be9cb 8025185: MethodHandleInError and MethodTypeInError not handled in ConstantPool::compare_entry_to and copy_entry_to
Add missing cases.

Reviewed-by: sspitsyn, dcubed
2013-10-09 21:45:28 -04:00
Karen Kinnear
1514de31eb 8026185: nsk/jvmit/GetMethodDeclaringClass/declcls001 failed
Missed initialization. Thanks Coleen.

Reviewed-by: coleenp, minqi
2013-10-09 17:57:17 -04:00
Christian Thalinger
b90addac58 8020750: Node::get_int: guarantee(t != NULL) failed: must be con
Reviewed-by: kvn, roland
2013-10-09 11:05:17 -07:00
Roland Westrelin
cbd0e9bf96 8023657: New type profiling points: arguments to call
X86 interpreter and c1 type profiling for arguments at calls

Reviewed-by: kvn, twisti
2013-10-09 16:32:21 +02:00
Niclas Adlertz
e9dbb39270 Merge 2013-10-09 05:03:34 -07:00
Niclas Adlertz
9c471c0dc0 8013830: [parfait] Uninitialised pointer 'Reachblock' may be used as argument
Replace uninitialised pointer with NULL at argument.

Reviewed-by: kvn, roland, twisti
2013-10-09 13:00:20 +02:00
Christian Thalinger
3fc4c7060d 8007923: Tests on references fails
Reviewed-by: kvn, iveresov
2013-10-08 19:57:28 -07:00
Karen Kinnear
920880a243 8026022: Verifier: allow anon classes to invokespecial host class/intf methods
Reviewed-by: coleenp, bharadwaj
2013-10-08 16:58:23 -04:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Kevin Walls
615cf8aecf Merge 2013-10-08 11:37:54 +02:00
Kevin Walls
c3d0e64506 8019375: Internal symbol table size should be tunable
Reviewed-by: coleenp, kamg
2013-10-08 09:33:51 +01:00
Mandy Chung
f9f9dd164a 8026025: JVM_GetCallerClass allows Reflection.getCallerClass(int depth) to use
Reviewed-by: alanb, dholmes, twisti
2013-10-08 02:56:06 -04:00
Karen Kinnear
088ded71f9 8009130: Lambda: Fix access controls, loader constraints
New default methods list with inherited superinterface methods

Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Stefan Karlsson
2cbd654963 8025996: Track metaspace usage when metaspace is expanded
Reviewed-by: coleenp, ehelin
2013-10-07 15:51:17 +02:00
Stefan Karlsson
55cbe80300 8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
Reviewed-by: brutisso, jmasa, coleenp
2013-10-07 15:51:08 +02:00
Thomas Schatzl
30ed89669a 8003420: NPG: make new GC root for pd_set
Move protection domain oops from system dictionary entries into a seperate set; the system dictionary references entries in that set now. This allows fast iteration during non-classunloading garbage collection. Implementation based on initial prototype from Ioi Lam (iklam).

Reviewed-by: coleenp, iklam
2013-10-09 10:57:01 +02:00
Tao Mao
2d75de8b05 8010506: Typos and errors in descriptions of vm options in globals.hpp
Fix typos and errors in descriptions of vm options in globals.hpp

Reviewed-by: jmasa, jwilhelm
2013-10-09 11:18:53 -07:00
Mikael Gerdin
7f3b537807 8014555: G1: Memory ordering problem with Conc refinement and card marking
Add a StoreLoad barrier in the G1 post-barrier to fix a race with concurrent refinement. Also-reviewed-by: martin.doerr@sap.com

Reviewed-by: iveresov, tschatzl, brutisso, roland, kvn
2013-10-08 17:35:51 +02:00
Vladimir Ivanov
bb528dd1d5 8025845: Default methods are unnecessarily marked w/ force_inline directive in some situations
Reviewed-by: acorn, kvn
2013-10-07 14:13:28 +04:00
Vladimir Ivanov
0059da4a6d 8024774: assert(_con < t->is_tuple()->cnt()) failed: ProjNode::_con must be in range
Reviewed-by: iveresov, roland, kvn, twisti
2013-10-07 14:12:23 +04:00
Vladimir Ivanov
9edb09d8fb 8024943: ciReplay: fails to dump replay data during safepointing
Reviewed-by: kvn, twisti
2013-10-07 14:11:49 +04:00
Vladimir Ivanov
9cb5f396ae 8025849: Redundant "pid" in VM log file name (e.g. hotspot_pidpid12345.log)
Reviewed-by: twisti, azeemj
2013-10-07 14:10:29 +04:00
Mikhailo Seledtsov
2b82651ec0 8023796: [TESTBUG] Add -XX:-TransmitErrorReport to runtime/6888954/vmerrors.sh
Added -XX:-TransmitErrorReport to the test

Reviewed-by: stefank, ctornqvi
2013-10-06 16:13:50 +02:00
Staffan Larsen
ca828c9bb8 Merge 2013-10-05 10:56:46 -04:00
Staffan Larsen
dcbbb4d37b 8025922: JNI access to Strings need to check if the value field is non-null
Reviewed-by: dholmes, dcubed
2013-10-05 15:18:57 +02:00
Christian Thalinger
d45a887dca Merge 2013-10-04 19:05:32 -07:00
Alejandro Murillo
52267389a1 8025859: new hotspot build - hs25-b54
Reviewed-by: jcoomes
2013-10-04 14:19:56 -07:00
Alejandro Murillo
91b6c6cb5f Added tag hs25-b53 for changeset 2e003ae41242 2013-10-04 14:10:09 -07:00
Alejandro Murillo
e244a49e78 Merge 2013-10-04 14:10:08 -07:00
John Coomes
875078a4e0 Merge 2013-10-04 13:37:25 -07:00
Christian Thalinger
bfc53b6607 8011138: C2: stack overflow in compiler thread because of recursive inlining of lambda form methods
Reviewed-by: kvn, roland
2013-10-04 10:11:48 -07:00
Fredrik Arvidsson
d3094c0e8c 6313383: SA: Update jmap to support HPROF binary format "JAVA PROFILE 1.0.2"
Adds support for large(>4G) heap dumps in hprof format. Adds tests and updates testlibrary.

Reviewed-by: sla, allwin
2013-10-04 13:44:49 +02:00
Mikael Gerdin
2a3f1d56d3 8025526: VirtualSpace should support per-instance disabling of large pages
Add a new initialization function to VirtualSpace which allows the caller to override the max commit granularity.

Reviewed-by: stefank, ehelin, tschatzl
2013-10-04 13:33:02 +02:00
Stefan Karlsson
ab6f813d49 Merge 2013-10-05 08:01:36 -07:00
Stefan Karlsson
3b34e78d20 8024838: Significant slowdown due to transparent huge pages
Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM.

Reviewed-by: jwilhelm, tschatzl, brutisso
2013-10-05 10:14:58 +02:00
Jesper Wilhelmsson
829ad9332b 8025854: Use "young gen" instead of "eden"
Changed a few descriptions and variable names to young gen.

Reviewed-by: tschatzl, jcoomes
2013-10-04 22:08:37 +02:00
Fredrik Arvidsson
738af149a2 8016845: SA is unable to use hsdis on windows
Added sadis.c to the build to provide missing symbols in sawindbg.dll. Added code to use the correct hsdisXXX.dll filename on different windows platforms.

Reviewed-by: sla, mgerdin
2013-10-04 13:01:07 +02:00
Erik Joelsson
1afb02e222 8007446: Add /MP to cl.exe speeds up windows builds of OpenJDK
Reviewed-by: sla, ctornqvi
2013-10-04 12:45:39 +02:00
Calvin Cheung
48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Coleen Phillimore
afd39d536b Merge 2013-10-05 03:14:53 +02:00
Coleen Phillimore
916c31fb47 Merge 2013-10-05 00:58:43 +02:00
Coleen Phillimore
7527f79e6d Merge 2013-10-05 00:53:02 +02:00
Albert Noll
4f459e644f 8025656: compiler/8013496/Test8013496.sh fails on assert
Ensure the thread is in correct state; rewrote test in Java

Reviewed-by: kvn, twisti
2013-10-04 09:19:13 +02:00
Coleen Phillimore
b08778e139 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: sla, dcubed, sspitsyn
2013-10-03 18:53:27 -04:00
Lois Foltan
e2466c1507 8025004: -XX:+CheckUnhandledOops asserts for JDK 8 Solaris fastdebug binaries
Remove unnecessary volatile keyword on stack locals within instanceKlass.cpp to work around Solaris Studio C++ compiler issue

Reviewed-by: coleenp, dcubed
2013-10-03 18:50:58 -04:00
Jesper Wilhelmsson
582aa55e4d 8025852: Remove unnecessary setters in collector policy classes
Use instance variables directly within the collector policy classes and remove unused setters.

Reviewed-by: tschatzl, jcoomes
2013-10-03 21:36:29 +02:00
Vladimir Danushevsky
09f1f55883 Merge 2013-10-03 10:35:32 -07:00
Jesper Wilhelmsson
11da59e506 8025853: Remove unnecessary uses of GenerationSizer
Removed stray includes and some minor cleanup of GenerationSizer

Reviewed-by: tschatzl, jcoomes
2013-10-03 17:16:23 +02:00
Joseph Provino
a1c9c2fe6f Merge 2013-10-03 10:25:54 -04:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Jesper Wilhelmsson
ed022aded1 8025855: Simplify GenRemSet code slightly
Remove a few redundant switch-statements

Reviewed-by: jcoomes, tschatzl
2013-10-03 13:19:19 +02:00
Roland Westrelin
59adc04ee5 8024067: Missing replace_in_map() calls following null checks
Add replace_in_map() calls following some null checks in type checks

Reviewed-by: kvn
2013-10-03 10:55:07 +02:00
Christian Thalinger
619948a8f1 8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
Reviewed-by: kvn
2013-10-07 10:41:56 -07:00
Dmitry Samersoff
13b13b1aed 8022616: u4 should not be used as a type for thread_id
Usage of u4 as a type for thread_id cause a compilation error on platform, where thread_id is a pointer

Reviewed-by: sla, sspitsyn, minqi
2013-10-03 12:39:58 +04:00
Dmitry Samersoff
ae3d003298 Merge 2013-10-03 04:42:57 +02:00
Dmitry Samersoff
d71ad98145 Merge 2013-10-03 01:12:27 +02:00
David Katleman
360b472d7f Added tag jdk8-b110 for changeset 5feed41054de 2013-10-02 13:26:31 -07:00
Coleen Phillimore
eb84a65af0 Merge 2013-10-02 15:06:38 -04:00
Dmitry Samersoff
5a67ff2d74 8025250: SA: Sync linux and bsd versions of ps_core file
Linux/ps_core.c and bsd/ps_core.c share most of code, but it has different formatting, comments etc.

Reviewed-by: sla, minqi
2013-10-02 22:27:23 +04:00
Lois Foltan
cc862a249a 8025569: -XX:+CheckUnhandledOops crashes on Windows
Disable CHECK_UNHANDLED_OOPS in fastdebug builds for JDK 8 on WIndows 32 & 64 bit machines

Reviewed-by: coleenp, ctornqvi, zgu
2013-10-02 13:02:40 -04:00
Dmitry Samersoff
259468dd26 8025283: Nits in os_bsd file breaks compilation of open hotspot
Couple of nits in os_bsd.cpp brake compilation of open hotspot on non-apple platforms

Reviewed-by: sla, sspitsyn
2013-10-02 20:58:44 +04:00
Erik Helin
ac15ca0d6a Merge 2013-10-02 18:24:58 +02:00
Mikael Vidstedt
a9927a8ee9 8024087: Remove dead JVM_{Get,Set}PrimitiveFieldValues functions
The two functions were used to support JDK 1.3 but are no longer in use

Reviewed-by: coleenp, ctornqvi, twisti, dsamersoff
2013-10-02 09:18:56 -07:00
Mikhailo Seledtsov
a97a2ad3c6 8025671: Test name changed, test list not updated. Test6878713.sh
Removed the obsolete test from the test group file

Reviewed-by: sla, ctornqvi, dholmes
2013-10-02 15:17:20 +02:00