Commit Graph

3209 Commits

Author SHA1 Message Date
Dean Long
9cd12c0bcd 7142641: -Xshared:on fails on ARM
Map read-only pages MAP_PRIVATE instead of MAP_SHARED

Reviewed-by: dcubed, dholmes
2012-02-29 12:58:49 -05:00
Frederic Parain
555b593770 Merge 2012-02-28 07:58:43 -08:00
Roland Westrelin
ff47163220 6910461: Register allocator may insert spill code at wrong insertion index
When resolving exception edges after register allocation, the C1 register allocator may insert spill code at the wrong insertion position.

Reviewed-by: kvn, never
2012-02-28 09:13:58 +01:00
Tom Rodriguez
825a304b38 7145024: Crashes in ucrypto related to C2
Reviewed-by: kvn
2012-02-28 10:04:01 -08:00
Roland Westrelin
c815908774 7148486: At a method handle call returning with an exception may call the runtime with misaligned stack (x64)
Stack must be realigned when calling the runtime for exception propagation at a call.

Reviewed-by: kvn, never
2012-02-27 11:42:30 +01:00
Roland Westrelin
4012f6cd34 7147740: add assertions to check stack alignment on VM entry from generated code (x64)
Check stack alignment on VM entry on x64.

Reviewed-by: kvn, never
2012-02-27 09:17:44 +01:00
Krystal Mok
84470be578 7148126: ConstantPoolCacheEntry::print prints to wrong stream
Should print to passed in stream not tty

Reviewed-by: dholmes, never
2012-02-25 01:49:34 -05:00
Alejandro Murillo
fafe66921e 7148664: new hotspot build - hs24-b02
Reviewed-by: jcoomes
2012-02-24 18:14:00 -08:00
Alejandro Murillo
7f5093d00d Added tag hs24-b01 for changeset b357c6ebe63e 2012-02-24 18:08:59 -08:00
Alejandro Murillo
a8f637446d Merge 2012-02-24 18:08:58 -08:00
Vladimir Kozlov
9c6ab6372f 7147416: LogCompilation tool does not work with post parse inlining
Fixed few problems in LogCompilation parser.

Reviewed-by: never
2012-02-24 12:33:31 -08:00
Bill Pittore
ee795ec927 Merge 2012-02-23 21:10:02 -05:00
David Katleman
158427237e Added tag jdk8-b27 for changeset 30cf3316d124 2012-02-23 12:03:08 -08:00
Mikael Gerdin
27c0786c3b 7148152: Add whitebox testing API to HotSpot
Add an internal testing API to HotSpot to enable more targeted testing of vm functionality

Reviewed-by: phh, dholmes
2012-02-23 14:58:35 +01:00
Frederic Parain
79a5197d1d Merge 2012-02-22 08:19:27 -08:00
Erik Joelsson
97612e5913 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
Reviewed-by: dholmes, ohrstrom, ohair, jcoomes
2012-02-22 09:24:35 +01:00
Dmitry Samersoff
12a9f18dcc Merge 2012-02-22 10:32:29 -08:00
Dmitry Samersoff
e1675f98d4 7110104: It should be possible to stop and start JMX Agent at runtime
Added a capability to start and stop JMX Agent by jcmd

Reviewed-by: acorn, mchung
2012-02-22 19:43:22 +04:00
Vladimir Kozlov
22db6951dc 7146442: assert(false) failed: bad AD file
Take into account only stores captured by Initialize node. Added missing check for Top input in value() methods.

Reviewed-by: never
2012-02-21 11:55:05 -08:00
Jiangli Zhou
3e904497b1 7120481: storeStore barrier in constructor with final field
Issue storestore barrier before constructor return if the constructor write final field.

Reviewed-by: dholmes, jrose, roland, coleenp
2012-02-21 13:14:55 -05:00
Bill Pittore
a94cb97f4a Merge 2012-02-22 14:00:34 -05:00
John Coomes
378bc323c2 Added tag hs23-b16 for changeset 1bfc33519320 2012-02-20 22:32:30 -08:00
Krystal Mok
41f7f6302b 7145358: SA throws ClassCastException for partially loaded ConstantPool
In printValueOn() in ConstantPool.java check if the poolHolder is a valid Klass and only then print it.

Reviewed-by: sla, sspitsyn
2012-02-20 21:27:56 -08:00
Vladimir Kozlov
5f68d9921d 7147064: assert(allocates2(pc)) failed: not in CodeBuffer memory: 0xffffffff778d9d60 <= 0xffffffff778da69c
Increase size of deopt_blob and uncommon_trap_blob by size of stack bang code (SPARC).

Reviewed-by: azeemj, iveresov, never, phh
2012-02-20 13:11:08 -08:00
Vladimir Kozlov
b4cbe82e26 7147064: assert(allocates2(pc)) failed: not in CodeBuffer memory: 0xffffffff778d9d60 <= 0xffffffff778da69c
Increase size of deopt_blob and uncommon_trap_blob by size of stack bang code (SPARC).

Reviewed-by: azeemj, iveresov, never, phh
2012-02-20 13:11:08 -08:00
Staffan Larsen
d856a7745c 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
Change OSThread to use mach thread_t

Reviewed-by: phh, dcubed
2012-02-19 13:11:39 +01:00
Daniel D. Daugherty
b0b5725863 7145798: System.loadLibrary does not search current working directory
Append "." to java.library.path on MacOS X to ease migration from Apple's Java6 to OpenJDK7.

Reviewed-by: phh, jmelvin, coleenp
2012-02-17 15:55:27 -08:00
Alejandro Murillo
a908ea8cb5 7146700: new hotspot build - hs24-b01
Reviewed-by: jcoomes
2012-02-17 15:11:32 -08:00
Alejandro Murillo
be21bbbc25 Added tag hs23-b16 for changeset e545d7e1f01e 2012-02-17 15:06:39 -08:00
Alejandro Murillo
c96c4e3fa4 Merge 2012-02-17 15:06:38 -08:00
Tom Rodriguez
7a1487a726 Merge 2012-02-17 12:18:52 -08:00
Tom Rodriguez
0d25b8c4d5 7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread
Reviewed-by: kvn
2012-02-17 12:18:10 -08:00
Frederic Parain
7ded1f054b Merge 2012-02-17 06:34:49 -08:00
Stefan Karlsson
7daca4fc60 Merge 2012-02-17 13:23:29 +01:00
Vladimir Kozlov
867f3ba889 7145346: VerifyStackAtCalls is broken
Replace call_epilog() encoding with macroassembler use. Moved duplicated code to x86.ad. Fixed return_addr() definition.

Reviewed-by: never
2012-02-16 17:12:49 -08:00
Coleen Phillimore
c82d4105ec Merge 2012-02-16 17:19:40 -05:00
John Coomes
5f0143a774 6330863: vm/gc/InfiniteList.java fails intermittently due to timeout
In some cases, allocate from the old gen before doing a full gc

Reviewed-by: stefank, jmasa
2012-02-16 13:13:53 -08:00
John Coomes
6827f384c9 7146343: PS invoke methods should indicate the type of gc done
Reviewed-by: stefank, jmasa
2012-02-16 13:12:25 -08:00
David Katleman
5fa0678ef1 Added tag jdk8-b26 for changeset 70e517098d81 2012-02-16 13:01:24 -08:00
James Melvin
ac2ed39761 7146354: Re-enable Compressed OOPs after 7118647 is resolved
Relax the assertion to simply check for COOP mode rather than an exact address.

Reviewed-by: coleenp, kvn, phh, dcubed
2012-02-16 15:52:01 -05:00
Tom Rodriguez
9e339b8ded 7144318: GCLocker assert failure: assert(_needs_gc || SafepointSynchronize::is_at_safepoint(
Reviewed-by: kvn, twisti
2012-02-16 11:33:49 -08:00
Paul Hohensee
f33961a1df 7142113: Add Ivy Bridge to the known Intel x86 cpu families
In vm_version_x86.hpp, add and use CPU_MODEL_IVYBRIDGE_EP, and restrict is_intel_tsc_synced_at_init() to EP models.

Reviewed-by: kvn, acorn
2012-02-16 13:50:54 -05:00
Roland Westrelin
cb7dbaebc9 7143038: SIGSEGV in assert_equal / LinearScan::assign_reg_num
Forced exit may destory global objects that are still in use.

Reviewed-by: twisti, never, kvn
2012-02-16 09:20:40 +01:00
Vladimir Kozlov
539616f85a 7125136: SIGILL on linux amd64 in gc/ArrayJuggle/Juggle29
For C2 moved saving EBP after ESP adjustment. For C1 generated 5 byte nop instruction first if needed.

Reviewed-by: never, twisti, azeemj
2012-02-15 21:37:49 -08:00
Vladimir Danushevsky
a1d2da174b 7129401: PPC: runtime/7100935/TestShortArraycopy.java fails
Pass assembler switches for PPC

Reviewed-by: dholmes
2012-02-15 20:26:59 -05:00
Igor Veresov
24b07e7ae6 7142680: default GC affected by jvm path
Removed old tiered code

Reviewed-by: never, kvn
2012-02-15 16:29:40 -08:00
Bill Pittore
f9788f6987 Merge 2012-02-15 16:09:49 -05:00
Igor Veresov
b972e52710 7145345: Code cache sweeper must cooperate with safepoints
Safepoint in the sweeper loop in necessary

Reviewed-by: kvn, never
2012-02-15 12:32:03 -08:00
Nils Loodin
510522ff57 7145243: Need additional specializations for argument parsing framework
Reviewed-by: acorn, fparain
2012-02-15 12:17:30 -08:00
Tom Rodriguez
520f6fcc87 7145537: minor tweaks to LogEvents
Reviewed-by: kvn, twisti
2012-02-15 10:12:55 -08:00
Antonios Printezis
be06406cb8 7132029: G1: mixed GC phase lasts for longer than it should
Revamp of the mechanism that chooses old regions for inclusion in the CSet. It simplifies the code and introduces min and max bounds on the number of old regions added to the CSet at each mixed GC to avoid pathological cases. It also ensures that when we do a mixed GC we'll always find old regions to add to the CSet (i.e., it eliminates the case where a mixed GC will collect no old regions which can happen today).

Reviewed-by: johnc, brutisso
2012-02-15 13:06:53 -05:00
Roland Westrelin
e6f3ba89ec 7126041: jdk7u4 b05 and b06 crash with RubyMine 3.2.4, works well with b04
Goto that replaces a If mistaken to be a back branch and triggers erroneous OSR compilation.

Reviewed-by: never, iveresov
2012-02-15 09:43:16 +01:00
Yumin Qi
db677a6f75 Merge 2012-02-14 23:50:12 -08:00
Dean Long
479baa64e5 7140866: assert(covered) failed: Card for end of new region not committed
Resize covered region only after successfully mapping shared archive

Reviewed-by: brutisso, ysr
2012-02-15 00:51:07 -05:00
Keith McGuigan
1f8105e44c Merge 2012-02-15 00:09:31 -05:00
Yumin Qi
3869025575 Merge 2012-02-14 20:54:57 -08:00
Serguei Spitsyn
c25eebd321 7130993: nsk/jdi/ReferenceType/instances/instances004 fails with JFR: assert(ServiceUtil::visible_oop(obj))
Skip reporting invisible refs in iterate_over_object to avoid assert(ServiceUtil::visible_oop(obj))

Reviewed-by: dcubed, mgronlun, rbackman
2012-02-14 17:04:40 -08:00
Keith McGuigan
ccebd55230 7145589: First JSDT provider creation fails
0 is a successful return from an ioctl() call

Reviewed-by: dcubed, phh, dsamersoff
2012-02-14 20:02:19 -05:00
Tom Rodriguez
f9b7a3e692 7143061: nsk/stress/stack/b4525850 crash VM
Reviewed-by: kvn, twisti
2012-02-14 15:43:56 -08:00
Coleen Phillimore
4bd7be25df Merge 2012-02-14 18:35:19 -05:00
Coleen Phillimore
5afc57be8e 7145587: Stack overflows in Java code cause 64-bit JVMs to exit due to SIGSEGV (sparc version)
Increase StackShadowPages to accomodate the JDK changes to increase buffer size in socketWrite

Reviewed-by: acorn, phh, dcubed, kamg, dsamersoff
2012-02-14 16:50:34 -05:00
Keith McGuigan
8a9ec2c624 Merge 2012-02-14 15:52:17 -05:00
Frederic Parain
476ee44449 7143760: Memory leak in GarbageCollectionNotifications
Reviewed-by: dholmes, dcubed, kamg
2012-02-14 06:54:27 -08:00
Roland Westrelin
e7ece2a742 7144405: JumbleGC002 assert(m->offset() == pc_offset) failed: oopmap not found
Oop map needs pc stored in frame anchor in StubGenerator::generate_throw_exception()

Reviewed-by: twisti, never, kvn
2012-02-14 09:43:25 +01:00
Keith McGuigan
95cfa1c3a7 7069991: Setup make/jprt.properties files for jdk8
Change default release value to jdk8 (but overrideable)

Reviewed-by: phh, jcoomes, dholmes, ohair
2012-02-13 14:03:12 -05:00
Coleen Phillimore
cfdca5342c 7059899: Stack overflows in Java code cause 64-bit JVMs to exit due to SIGSEGV
Increase StackShadowPages to accomodate the JDK changes to increase buffer size in socketWrite

Reviewed-by: acorn, phh
2012-02-13 12:30:47 -05:00
Frederic Parain
3008f1f46e Merge 2012-02-13 06:24:44 -08:00
Christian Thalinger
df753a2942 7143766: add ALT_JDK_IMAGE_DIR and improve test_jdk
Reviewed-by: rbackman, jrose, dholmes
2012-02-13 04:30:59 -08:00
Christian Thalinger
425b53e062 7141329: Strange values of stack_size in -XX:+TraceMethodHandles output
Reviewed-by: kvn, never
2012-02-13 02:29:22 -08:00
Poonam Bajaj
e565fbba32 7009098: SA cannot open core files larger than 2GB on Linux 32-bit
Added Large File Support by compiling libsaproc.so with -D_FILE_OFFSET_BITS=64, and a small change with which SA should first load libraries from the path specified with SA_ALTROOT.

Reviewed-by: dholmes, kevinw, dcubed, minqi
2012-02-12 19:33:11 -08:00
Andrew Haley
b33087c6d3 7140985: HSDIS does not handle caller options correctly
Fix typo.

Reviewed-by: jrose, kvn
2012-02-10 17:20:05 -08:00
Vladimir Kozlov
2d533fa2a9 7129284: +DoEscapeAnalysis regression w/ early build of 7u4 (HotSpot 23) on Linux
Removed code which tried to create edges from fields of destination objects of arraycopy to fields of source objects. Added 30 sec time limit for EA graph construction.

Reviewed-by: never
2012-02-10 12:53:43 -08:00
Alejandro Murillo
4659df3c49 7144322: new hotspot build - hs23-b16
Reviewed-by: jcoomes
2012-02-10 11:46:20 -08:00
Alejandro Murillo
46f9604fd6 Added tag hs23-b15 for changeset 323ec1849b7c 2012-02-10 11:41:34 -08:00
Alejandro Murillo
9d5cdc4b03 Merge 2012-02-10 11:41:29 -08:00
Bill Pittore
39f063f94d Merge 2012-02-10 10:55:15 -05:00
John R Rose
610e13c424 Merge 2012-02-09 18:01:20 -08:00
David Katleman
5d17e0d33e Added tag jdk8-b25 for changeset 5464af66b3ba 2012-02-09 12:55:38 -08:00
Zhengyu Gu
b0725ec91a Merge 2012-02-09 07:35:48 -08:00
Zhengyu Gu
e0ec1c804e 7141259: Native stack is missing in hs_err
Code cleanup and creating a private decoder for error handler, since it can be triggered from in signal handler, where no lock can be taken

Reviewed-by: dholmes, kamg, acorn, coleenp
2012-02-09 10:16:26 -05:00
Yumin Qi
3a09f847bb 7131006: java/lang/management/ThreadMXBean/ThreadLists.java
Reviewed-by: dholmes, acorn
2012-02-09 00:51:47 -08:00
Roland Westrelin
0f2f8f179e 7119286: JSR292: SIGSEGV in JNIHandleBlock::release_block(JNIHandleBlock*, Thread*)+0x3c
Unaligned stack in throw_NullPointerException_at_call_entry().

Reviewed-by: twisti, never, kvn
2012-02-08 09:52:24 +01:00
Vladimir Kozlov
e6015c7c26 7143491: G1 C2 CTW: assert(p2x->outcnt() == 2) failed: expects 2 users: Xor and URShift nodes
Adjust the assert and code in eliminate_card_mark() method for case when stored value is NULL.

Reviewed-by: iveresov, never
2012-02-07 16:33:43 -08:00
Frederic Parain
b70c4be0d9 Merge 2012-02-07 12:34:31 -08:00
Vladimir Kozlov
2856b9535e 7142167: MAC: _get_previous_fp broken on bsd with llvm-gcc
LLVM-GCC (__llvm__) should use the same _get_previous_fp implementation as __clang__ (as is the case for os::current_stack_pointer).

Reviewed-by: twisti, never, dcubed
2012-02-07 11:33:15 -08:00
Alejandro Murillo
01ee621b40 7143122: new hotspot build - hs23-b15
Reviewed-by: jcoomes
2012-02-06 12:18:24 -08:00
Alejandro Murillo
ce62364df5 Added tag hs23-b14 for changeset 04e30cc559a9 2012-02-06 12:13:56 -08:00
James Melvin
8bd7cfc472 7142616: MAC: Honor ALT_EXPORT_PATH overrides from JDK control builds
Fix EXPORT_PATH overrides on Mac OS X and only change default.

Reviewed-by: phh, dcubed
2012-02-06 14:02:51 -05:00
James Melvin
50daea0824 7142852: MAC: Comment out JPRT jbb tests on Mac OS X until 7142850 is resolved
Comment out JPRT jbb tests on Mac OS X until GUI hang can be fixed

Reviewed-by: dholmes, brutisso, phh
2012-02-06 14:01:53 -05:00
Bill Pittore
8e09c4566e Merge 2012-02-06 10:57:49 -05:00
Erik Joelsson
a1b4a3f698 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
Cleaned up make variables for compilers and linker to consistently use CXX for C++ compiler, CC for C compiler and LD for linker.

Reviewed-by: dholmes, ohrstrom
2012-02-06 09:14:22 +01:00
Alejandro Murillo
5071c6aa0a 7142393: new hotspot build - hs23-b14
Reviewed-by: jcoomes
2012-02-03 18:09:14 -08:00
Alejandro Murillo
119aa701d0 Added tag hs23-b13 for changeset c996ca3f8bac 2012-02-03 18:04:11 -08:00
Alejandro Murillo
d639db1a9d Merge 2012-02-03 18:04:09 -08:00
John Coomes
abcd88ab09 Merge 2012-02-03 12:20:11 -08:00
John Coomes
140e8ff0d9 Merge 2012-02-03 12:08:55 -08:00
Frederic Parain
7b1a6d8811 Merge 2012-02-03 14:04:59 -05:00
John Coomes
39ab213a0a 6679764: enable parallel compaction by default
Reviewed-by: phh, jmasa
2012-02-02 16:05:17 -08:00
David Katleman
9cbc2661e1 Added tag jdk8-b24 for changeset 7e187fc00d45 2012-02-02 09:39:26 -08:00
Volker Simonis
b9fbc2faab 7141637: JSR 292: MH spread invoker crashes with NULL argument on x86_32
Reviewed-by: twisti
2012-02-02 09:14:38 -08:00