Commit Graph

1368 Commits

Author SHA1 Message Date
Karen Kinnear
47748afed5 6893504: LinkageError for bootstrap duplicate class definitions
Reviewed-by: kamg, xlu
2009-11-11 15:49:38 -05:00
Keith McGuigan
01b706e9f9 Merge 2009-11-11 09:13:12 -05:00
Changpeng Fang
2c40841f3f Merge 2009-11-10 17:00:18 -08:00
Jon Masamitsu
bedf908436 6898857: [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
Use CollectorPolicy information instead of MaxNewSize

Reviewed-by: ysr, jcoomes
2009-11-10 11:32:48 -08:00
Keith McGuigan
a3b18775c7 Merge 2009-11-06 16:05:59 -05:00
Keith McGuigan
d98c05b678 Merge 2009-11-06 15:04:26 -05:00
John Cuthbertson
f473d94b9c 6895788: G1: SATB and update buffer allocation code allocates too much space
The type in the NEW_C_HEAP_ARRRY and FREE_C_HEAP_ARRAY calls in the buffer allocation code was changed from void* to char as the size argument had already been mulitipled by the byte size of an object pointer.

Reviewed-by: ysr, tonyp
2009-11-06 11:10:05 -08:00
Erik Trimble
37c4dee7db Merge 2009-11-06 00:41:40 -08:00
Erik Trimble
61acb34177 6898707: Bump the HS17 build number to 05
Update the HS17 build number to 05

Reviewed-by: jcoomes
2009-11-05 15:58:32 -08:00
Erik Trimble
98ce9a72d2 Merge 2009-11-05 15:44:04 -08:00
Vladimir Kozlov
c5744bd138 6896352: CTW fails hotspot/src/share/vm/opto/escape.cpp:1155
Always call C->get_alias_index(phase->type(address)) during parsing.

Reviewed-by: never
2009-11-04 14:43:50 -08:00
Vladimir Kozlov
9c1321eed3 6896370: CTW fails share/vm/opto/matcher.cpp:1475 "duplicating node that's already been matched"
Move DecodeN code outside the memory nodes only code.

Reviewed-by: never
2009-11-04 14:16:20 -08:00
Paul Hohensee
e38fa6385f 6898160: Need serviceability support for new vm argument type 'uint64_t'
Add serviceability support for uint64_t. Flags of unknown type assert in debug builds and are ignored in product builds.

Reviewed-by: never, xlu, mchung, dcubed
2009-11-04 16:49:23 -05:00
Y. Srinivas Ramakrishna
a3e539d0da 6801625: CDS: HeapDump tests crash with internal error in compactingPermGenGen.cpp
Allow iteration over the shared spaces when using CDS, repealing previous proscription. Deferred further required CDS-related cleanups of perm gen to CR 6897789.

Reviewed-by: phh, jmasa
2009-11-03 16:43:16 -08:00
Roland Westrelin
7eea7dcfe4 6769124: various 64-bit fixes for c1
Reviewed-by: never
2009-11-02 11:17:55 +01:00
Xiaobin Lu
f5e722511a Merge 2009-10-30 17:24:14 -07:00
John R Rose
903247cf85 6858164: invokedynamic code needs some cleanup (post-6655638)
Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl

Reviewed-by: kvn
2009-10-30 16:22:59 -07:00
Michael Wilkerson
5873c77d42 Added tag jdk7-b75 for changeset ac997bc87110 2009-10-30 10:54:34 -07:00
Antonios Printezis
56b1d0c435 Merge 2009-10-30 13:31:11 -04:00
Changpeng Fang
e3b5580ecc 6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash
Disable SuperWord optimization for unsafe read/write

Reviewed-by: kvn, phh
2009-10-30 10:12:52 -07:00
Vladimir Kozlov
bdd0f44def 6896084: VM does not reserve protected page below heap for compressed oops implicit null checks
Set narrow_oop_base and narrow_oop_use_implicit_null_checks in Universe::preferred_heap_base().

Reviewed-by: twisti, jcoomes
2009-10-29 16:57:55 -07:00
John Cuthbertson
bf0f699b33 6889740: G1: OpenDS fails with "unhandled exception in compiled code"
Incorrect code was being generated for the store operation in the null case of the aastore bytecode template. The bad code was generated by the store_heap_oop routine which takes a Register as its second argument. Passing NULL_WORD (0) as the second argument causes the value to be converted to Register(0), which is rax. Thus the generated store was "mov (dst), $rax" instead of "mov (dst), $0x0". Changed calls to store_heap_oop that pass NULL_WORD as the second argument to a new routine store_heap_oop_null.

Reviewed-by: kvn, twisti
2009-10-29 09:42:26 -07:00
Changpeng Fang
c1eacdef5a Merge 2009-10-29 08:49:31 -07:00
Paul Hohensee
2f7d60fa36 6887571: Increase default heap config sizes
Apply modification of existing server heap size ergo to all collectors except CMS.

Reviewed-by: jmasa, ysr, xlu
2009-10-28 16:25:51 -04:00
Y. Srinivas Ramakrishna
cd43e74d4e 6818264: Heap dumper unexpectedly adds .hprof suffix
Restore old behaviour wrt HeapDumpPath; first dump goes to <file>, <n>th dump goes to <file>.<n-1>, with default value of <file> the same as before.

Reviewed-by: alanb, jcoomes, tonyp
2009-10-28 11:16:42 -07:00
Xiaobin Lu
5e86d923f2 Merge 2009-10-28 10:37:17 -07:00
Christian Thalinger
ad6d07e80b 6893554: SPECjvm2008 mpegaudio fails with SecurityException
The problem occurs with negative numbers, as the 32-bit input values are sign extended into the 64-bit registers.

Reviewed-by: kvn
2009-10-27 03:00:27 -07:00
Andrey Petrusenko
79580cb425 6870843: G1: G1 GC memory leak
The fix addresses two memory leaks in G1 code: (1) _evac_failure_scan_stack - a resource object allocated on the C heap was not freed; (2) RSHashTable were linked into deleted list which was only cleared at full GC.

Reviewed-by: tonyp, iveresov
2009-10-27 02:42:24 -07:00
Xiaobin Lu
bfa076da18 Merge 2009-10-23 18:44:33 -07:00
Erik Trimble
dce55d0f18 Merge 2009-10-23 14:28:47 -07:00
Erik Trimble
c85f6acf41 6894844: Bump the HS17 build number to 04
Update the HS17 build number to 04

Reviewed-by: jcoomes
2009-10-23 14:27:16 -07:00
Andrey Petrusenko
da1b89b746 6858886: G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359
Reviewed-by: tonyp, ysr
2009-10-22 07:43:49 -07:00
Vladimir Kozlov
022d690049 6892186: SA does not dump debug info for scalar replaced objects
Implement scalar replaced objects debug info dump in SA.

Reviewed-by: twisti
2009-10-21 09:15:33 -07:00
Keith McGuigan
6dfb497d00 6893483: DTrace probe return values for a couple JNI methods are wrong
Fix the shadowing and incorrect macro usages

Reviewed-by: coleenp
2009-10-20 16:34:08 -04:00
Antonios Printezis
e57cedc5ed Merge 2009-10-20 11:28:25 -07:00
Y. Srinivas Ramakrishna
0bb99b44ef 6892749: assert(UseParNewGC || UseSerialGC || UseConcMarkSweepGC, "...") fails
Removed the assert: UseSerialGC is not necessarily always set when serial gc is being used.

Reviewed-by: jcoomes, jmasa, tonyp
2009-10-20 00:00:23 -07:00
Antonios Printezis
9f337f438a Merge 2009-10-19 17:02:19 -04:00
John R Rose
2134a92922 6815692: method handle code needs some cleanup (post-6655638)
Correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support

Reviewed-by: never, twisti
2009-10-17 19:51:05 -07:00
Changpeng Fang
9c6f603b85 Merge 2009-10-16 16:14:12 -07:00
Changpeng Fang
35ca20c546 Merge 2009-10-16 14:08:44 -07:00
Y. Srinivas Ramakrishna
928ac69fcd 6888898: CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning
6889757: G1: enable card mark elision for initializing writes from compiled code (ReduceInitialCardMarks)

Defer the (compiler-elided) card-mark upon a slow-path allocation until after the store  and before the next subsequent safepoint; G1 now answers yes to can_elide_tlab_write_barriers().

Reviewed-by: jcoomes, kvn, never
2009-10-16 02:05:46 -07:00
Xiomara Jayasena
89510f5c0b Added tag jdk7-b74 for changeset b95ea007fe67 2009-10-15 16:40:19 -07:00
Tom Rodriguez
8eace255e1 6891750: deopt blob kills values in O5
Reviewed-by: kvn, twisti
2009-10-15 11:47:13 -07:00
Vladimir Kozlov
34324e30c0 6890984: Comparison of 2 arrays could cause VM crash
Restore original null checks.

Reviewed-by: never, cfang
2009-10-14 15:03:32 -07:00
Xiaobin Lu
88d2bc6d8d Merge 2009-10-14 12:40:20 -07:00
Vladimir Kozlov
3d9a536c1a 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
Use -y zip option to preserve symbolic links.

Reviewed-by: never, jcoomes, kamg
2009-10-14 11:42:59 -07:00
Tom Rodriguez
6af1a61656 6889869: assert(!Interpreter::bytecode_should_reexecute(code),"should not reexecute")
Reviewed-by: jrose, kvn, cfang, twisti
2009-10-14 10:36:57 -07:00
Vladimir Kozlov
998bcbaf4b 6889300: assert(i != k || is_new || i->outcnt() > 0, "don't return dead nodes")
PhiNode::Ideal() should return TOP for Phi node with no users.

Reviewed-by: never, jrose
2009-10-13 22:32:31 -07:00
Vladimir Kozlov
9a22acef05 6889656: assert(lo_lrg->lo_degree() || !lo_no_simplify,"Live range was lo-degree before coalesce
Restore the original code: uint i = _hi_degree.

Reviewed-by: never, jrose
2009-10-13 20:54:13 -07:00
Tom Rodriguez
9ecd8e48ca 6889302: TraceExceptions output should include detail message
Reviewed-by: twisti, jrose, kvn
2009-10-13 16:29:31 -07:00
Gary Benson
5473f394c6 6890308: integrate zero assembler hotspot changes
Reviewed-by: never
2009-10-13 12:04:21 -07:00
Erik Trimble
19fcbc7c3e 6890293: Bump the HS17 build number to 03
Update the HS17 build number to 03

Reviewed-by: jcoomes
2009-10-09 15:21:07 -07:00
Erik Trimble
8cea3ed3b4 Merge 2009-10-09 15:18:52 -07:00
Antonios Printezis
a67426faf8 6866190: Remove SIMPLE_STACK code from TaskQueue
What the title says. We don't use SIMPLE_STACK any more.

Reviewed-by: ysr
2009-10-07 19:01:55 -04:00
Tom Rodriguez
9b306d03ee 6885584: A particular class structure causes large allocation spike for jit
Reviewed-by: kvn
2009-10-07 15:38:37 -07:00
Vladimir Kozlov
ba951dbf36 6875959: CTW fails hotspot/src/share/vm/opto/reg_split.cpp:1087
To break spill ties choose bound live range over unbound to free register or one with smaller cost to spill.

Reviewed-by: never, jrose
2009-10-07 12:43:50 -07:00
Bob Vandette
9681f68f38 6888847: TaskQueue needs release_store() for correctness on RMO machines
See title.

Reviewed-by: jmasa, ysr, jcoomes, iveresov, tonyp
2009-10-07 09:48:42 -04:00
Antonios Printezis
9288a18639 6888619: G1: too many guarantees in concurrent marking
Change more guarantees in concurrent marking into asserts.

Reviewed-by: apetrusenko, iveresov
2009-10-07 10:09:57 -04:00
Antonios Printezis
0835f0c4df 6888316: G1: has_aborted() || _cm->region_stack_empty() fails
Remove incorrect guarantee.

Reviewed-by: apetrusenko, iveresov
2009-10-07 09:42:18 -04:00
Volker Simonis
930f3d4570 6880034: SIGBUS during deoptimisation at a safepoint on 64bit-SPARC
Fix problem with the double register encodings in sparc.ad

Reviewed-by: never, jrose
2009-10-06 10:15:38 -07:00
Christian Thalinger
e4541dcd08 6879902: CTW failure jdk6_18/hotspot/src/cpu/sparc/vm/assembler_sparc.hpp:845
For signatures with a large number of arguments the offset for the float store becomes too big and does not fit in 13-bit.

Reviewed-by: kvn, never
2009-10-06 02:11:49 -07:00
Antonios Printezis
31de6adee9 6847956: G1: crash in oopDesc*G1ParCopyHelper::copy_to_survivor_space(oopDesc*)
When we copy objects to survivors during marking, we incorrectly set NTAMS to bottom, which causes marking to miss visiting some of those objects.

Reviewed-by: apetrusenko, iveresov
2009-10-05 12:05:48 -04:00
Antonios Printezis
0c790abc79 Merge 2009-10-03 10:53:08 -04:00
Antonios Printezis
2684c3a431 6882730: G1: parallel heap verification messes up region dump
It tidies up the G1 heap verification a bit. In particular, when the verification is done in parallel and there is a failure, this is propagated to the top level and the heap is dumped at the end, not by every thread that encounters a failure.

Reviewed-by: johnc, jmasa
2009-10-02 16:20:42 -04:00
Antonios Printezis
99a529bb86 6885041: G1: inconsistent thread dump
When G1 is enabled, thread dumps are inconsistent as the info for some of the G1 threads is not formatted properly.

Reviewed-by: ysr, johnc
2009-10-02 16:12:07 -04:00
John Coomes
e379759e1b 6887948: test/gc/6845368/bigobj.java fails due to timeout
Reviewed-by: iveresov
2009-10-05 05:51:22 -07:00
Xiomara Jayasena
f174a87b09 Added tag jdk7-b73 for changeset 2248859f89d4 2009-10-02 11:26:25 -07:00
John Cuthbertson
7f1cf79e6d 6887186: G1: Incorrect code generated for G1 pre-barrier by C1 on SPARC
Modify operand passed to C1 pre-barrier to be the operand representing the address of the object field that is being stored.

Reviewed-by: never
2009-10-01 15:56:19 -07:00
John R Rose
f34acd6601 Merge 2009-09-30 13:25:39 -07:00
Antonios Printezis
2c2a8ae8b1 6890137: G1: revamp reachable object dump
Revamp the reachable object dump debugging facility.

Reviewed-by: jmasa, apetrusenko
2009-09-30 14:50:51 -04:00
Antonios Printezis
7c9b6d8d16 6886024: G1: assert(recent_avg_pause_time_ratio() < 1.00,"All GC?")
The assert is incorrect and can fire incorrectly due to floating point inaccuracy.

Reviewed-by: apetrusenko, ysr, jcoomes
2009-10-23 14:34:27 -04:00
Changpeng Fang
9640e8148d 6886353: For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
Add IgnoreUnrecognizedVMOptions for JTreg tests (on a product build) to pass with DeoptimizeALot

Reviewed-by: kvn
2009-09-28 17:14:25 -07:00
Karen Kinnear
1a46b05dd4 Merge 2009-09-28 12:27:52 -04:00
Vladimir Kozlov
7e942d79d0 6883468: C2 compiler enters infinite loop in PhaseIterGVN::transform
Avoid ideal transformation ping-pong between AddPNode::Ideal() and CastX2PNode::Ideal().

Reviewed-by: cfang
2009-09-25 13:26:02 -07:00
Erik Trimble
3cb09cdcfc 6885900: Bump the HS17 build number to 02
Update the HS17 build number to 02

Reviewed-by: jcoomes
2009-09-25 12:19:19 -07:00
Erik Trimble
652ccb8d21 Merge 2009-09-25 12:17:06 -07:00
Andrey Petrusenko
698cbc8361 Merge 2009-09-25 04:39:54 -07:00
Xiaobin Lu
89aa7fcef6 6880029: JDK 1.6.0_u14p Application crashed very early
Reviewed-by: never, ysr, acorn
2009-09-24 12:10:46 -07:00
John R Rose
eb73cf4739 6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
After mechanically merging changes, some by-hand adjustments are needed.

Reviewed-by: ysr
2009-09-23 23:57:44 -07:00
John R Rose
40d52710f6 Merge 2009-09-23 23:56:15 -07:00
Andrew John Hughes
a6a41760f1 6884552: remove some unnecessary #ifdef's introduced in the fix for 4957990
Removed the unnecessary #ifdef's which were interfering with the build of the Zero-assembler port

Reviewed-by: ysr, jcoomes
2009-09-23 11:36:06 -07:00
Daniel D. Daugherty
f6523d1043 6876794: 4/4 sp07t002 hangs very intermittently
Remove over locking by VMThread on "is thread suspended?" check

Reviewed-by: dholmes, acorn, andrew
2009-09-22 21:12:37 -06:00
Xiomara Jayasena
15f08eb80e 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
Karen Kinnear
4e453ff713 Merge 2009-09-21 18:10:22 -04:00
Daniel D. Daugherty
2a4f284029 6419370: 4/4 new jmethodID code has tiny holes in synchronization
Fix races in jmethodID cache and JNI itable index cache.

Reviewed-by: ikrylov, acorn
2009-09-21 09:30:24 -06:00
Karen Kinnear
73672d44db Merge 2009-09-18 15:14:50 -04:00
Vladimir Kozlov
25296d001b 6820514: meet not symmetric failure in ctw
Add missing instance_id meet.

Reviewed-by: never
2009-09-18 09:57:47 -07:00
Andrey Petrusenko
0b2a3eda9c Merge 2009-09-18 06:02:17 -07:00
Xiomara Jayasena
fc5a3ad2a8 Added tag jdk7-b72 for changeset 0fa11a27fb57 2009-09-17 13:46:45 -07:00
Karen Kinnear
9ed976194b 6879572: SA fails _is_marked_dependent not found
Reviewed-by: kamg, dcubed
2009-09-16 15:42:46 -04:00
Tom Rodriguez
7437f0b825 6854812: 6.0_14-b08 crashes with a SIGSEGV
Reviewed-by: kvn, twisti
2009-09-16 11:06:10 -07:00
Karen Kinnear
27286386e9 Merge 2009-09-16 09:10:57 -04:00
John R Rose
47c425506d Merge 2009-09-15 22:50:12 -07:00
John R Rose
e261aecad8 6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops.

Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Erik Trimble
ca3fd330c5 Merge 2009-09-15 20:44:24 -07:00
Vladimir Kozlov
c89a572b3e 6879362: assert(!klass_is_exact(),"only non-exact klass")
Do nothing for AddP node which has type not related to the type of allocated object.

Reviewed-by: never
2009-09-15 19:03:39 -07:00
Y. Srinivas Ramakrishna
8c18990964 6861557: G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or ...")
Druing heap shrinking, check for emptiness of a region before modifying its ZF status.

Reviewed-by: tonyp
2009-09-15 16:50:50 -07:00
Karen Kinnear
ffb85ff832 Merge 2009-09-15 16:28:57 -04:00
Changpeng Fang
1cf5b7ae11 6879921: CTW failure jdk6_18/hotspot/src/share/vm/utilities/globalDefinitions.cpp:268
Filter out non-primitives before deciding whether two ops can be packed

Reviewed-by: kvn, never
2009-09-15 11:09:34 -07:00
Vladimir Kozlov
243514d483 6827605: new String intrinsics may prevent EA scalar replacement
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2

Modify String intrinsic methods to pass char[] pointers instead of string oops.

Reviewed-by: never
2009-09-14 12:14:20 -07:00
Vladimir Kozlov
5e31e14ea4 Merge 2009-09-14 11:45:03 -07:00
Changpeng Fang
c492f4cde5 6877254: Server vm crashes with no branches off of store slice" when run with CMS and UseSuperWord(default)
Design StoreCMNode::Ideal to promote its oopStore input if the input is a MergeMem node

Reviewed-by: kvn, never
2009-09-14 09:49:54 -07:00
Andrew John Hughes
3d73906ac5 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
The build fails if the bootstrap JDK defaults to <1.5

Reviewed-by: jcoomes
2009-09-12 12:50:07 +01:00
Vladimir Kozlov
e0519e7bbd 6880053: assert(alloc_obj->as_CheckCastPP()->type() != TypeInstPtr::NOTNULL)
Removed second CheckCastPP and use MembarCPUOrder after arraycopy to cloned object.

Reviewed-by: never
2009-09-10 18:18:06 -07:00
Y. Srinivas Ramakrishna
e42ca11cd1 6872136: CMS: confusing message may be printed when a collector is switched off implicitly
Fix CDS/CMS option overrides related to iCMS option CMSIncrementalMode; explicate overrides to error stream.

Reviewed-by: coleenp
2009-09-10 16:46:17 -07:00
Vladimir Kozlov
515f68b637 6880574: C2 assert in escape.cpp:445 on linux-amd64
Look through chained AddP nodes in get_addp_base().

Reviewed-by: jrose
2009-09-10 10:36:24 -07:00
Karen Kinnear
ab1485b385 Merge 2009-09-10 09:04:41 -04:00
Vladimir Kozlov
75e90c9027 6880533: test/compiler/6865031/Test.java miss -XX:+IgnoreUnrecognizedVMOptions
Add missing test option -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: never
2009-09-09 16:28:03 -07:00
Vladimir Kozlov
f0f6f93143 6880052: SIGSEGV in GraphKit::null_check_common()
Check that a klass is not NULL before the is_loaded() call.

Reviewed-by: never
2009-09-08 16:56:31 -07:00
Vladimir Kozlov
d486b5f5fd 6875619: CTW fails with /hotspot/src/share/vm/opto/type.hpp
In load_array_length() cast array's type to TypeOopPtr when calling make_ideal_length() method.

Reviewed-by: never
2009-09-08 10:42:50 -07:00
Andrew John Hughes
361f8360c0 Merge 2009-09-08 09:02:48 +01:00
Andrew John Hughes
9cbfcde9a7 6879689: Fix warning about ignored return value when compiling with -O2
Store the return value of fwrite and check it matches the size of the array.

Reviewed-by: twisti, dholmes
2009-09-08 09:01:16 +01:00
Karen Kinnear
488e99efd8 6830542: Performance: JVM_DefineClass already verified
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
Andrey Petrusenko
9ae6fb796e Merge 2009-09-04 05:31:37 -07:00
John Coomes
928d5f78a4 6879076: disable jprt sync after builds are done
Reviewed-by: kamg, dholmes
2009-09-03 19:21:55 -07:00
Xiomara Jayasena
c5819893e7 Added tag jdk7-b71 for changeset 8e014ad9c233 2009-09-03 10:52:51 -07:00
Poonam Bajaj
c04761e799 6858208: jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
Add an explicit check for TypeProfileWidth == 0 in record_klass_in_profile_helper() functions.

Reviewed-by: never, coleenp
2009-09-01 23:34:08 -07:00
Tom Rodriguez
57a92290f4 6855215: Calculation error (NaN) after about 1500 calculations
Reviewed-by: kvn
2009-08-31 17:07:53 -07:00
Changpeng Fang
457be8ad49 6876276: assert(!is_visited,"visit only once")
Schedule the superword loads based on dependence constraints

Reviewed-by: kvn, never
2009-08-31 08:31:45 -07:00
Christian Thalinger
6ef69eb7c3 6875967: CTW fails with./generated/adfiles/ad_sparc.cpp:6711
Reviewed-by: cfang, never
2009-08-31 02:24:21 -07:00
Andrei Pangin
13516fe398 Merge 2009-08-30 15:33:14 -07:00
Daniel D. Daugherty
be978406f7 Merge 2009-08-28 15:03:15 -07:00
Daniel D. Daugherty
2357edfa00 Merge 2009-08-28 12:32:06 -06:00
Daniel D. Daugherty
779247f1cb 6875393: 2/3 JNI itable index cache is broken
Add missing initialization of cache size.

Reviewed-by: tbell
2009-08-28 12:25:46 -06:00
Vladimir Kozlov
343b5b0bef 6875577: CTW fails with /hotspot/src/share/vm/opto/memnode.cpp
Fix do_null_check to check for unloaded klass for all oop pointers.

Reviewed-by: never, cfang
2009-08-28 11:19:33 -07:00
Abhijit Saha
42e578e5cc 6821003: Update hotspot windows os_win32 for windows 7
Reviewed-by: xlu
2009-08-28 08:54:28 -07:00
Christian Thalinger
b357ca3ad1 6865583: Verbose CIPrintMethodCodes asserts when ldc an empty String
Ldc seems to load an empty String and that leads to an assert on offset < length, which are both zero.

Reviewed-by: kvn, never
2009-08-27 06:17:23 -07:00
Vladimir Kozlov
15d404c6c6 Merge 2009-08-25 13:08:40 -07:00
Tom Rodriguez
9966801c6c 6875329: fix for 6795465 broke exception handler cloning
Reviewed-by: kvn
2009-08-24 22:26:15 -07:00
Vladimir Kozlov
2a362d8b87 6873800: enable compressed oops by default
Enable compressed oops by default

Reviewed-by: never, ysr
2009-08-24 11:13:46 -07:00
Erik Trimble
13f64cfc51 Merge 2009-08-21 20:39:41 -07:00
Erik Trimble
3356fa9895 6873236: Fork HS16 to HS17 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS17 fork

Reviewed-by: jcoomes
2009-08-21 20:38:36 -07:00
Erik Trimble
3b812e4892 Merge 2009-08-21 20:16:58 -07:00
Changpeng Fang
ff9a1bddb5 6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams

Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00
Xiomara Jayasena
8d3b392ec7 Added tag jdk7-b70 for changeset 0caafb54c87f 2009-08-20 11:20:09 -07:00
Vladimir Kozlov
15b6cdf897 6873799: enable escape analysis by default
Enable escape analysis by default

Reviewed-by: never
2009-08-19 19:05:18 -07:00
Tom Rodriguez
0217f432c2 6873777: FPU control word optimization still performed with SSE
Reviewed-by: kvn
2009-08-19 18:54:35 -07:00
Andrei Pangin
6d98918342 Merge 2009-08-19 15:46:22 -07:00
Andrei Pangin
ab4b4a6433 Merge 2009-08-17 15:03:39 -07:00
Tom Rodriguez
cc01c0f4f6 6795465: Crash in assembler_sparc.cpp with client compiler on solaris-sparc
Reviewed-by: twisti, cfang
2009-08-17 14:45:02 -07:00
Changpeng Fang
05c34e93bd 6866651: Regression: simple int sum crashes jvm (build 1.6.0_14-b08 and 1.7.0-ea-b59)
Delay dead code elimination in set_req_X to make it safe

Reviewed-by: kvn, never
2009-08-17 12:11:06 -07:00
Changpeng Fang
f6f2d510b9 6829127: Deoptimization Failure on Specjvm98 _227_mtrt with -XX:+DeoptimizeALot since Hs11 b01
Make sure the control word is correct in deopt_blob after restore_result_registers

Reviewed-by: kvn, never
2009-08-17 09:48:02 -07:00
Tom Rodriguez
61d82b75be Merge 2009-08-14 22:11:18 -07:00
Erik Trimble
343d7a9ab6 Merge 2009-08-14 17:14:07 -07:00
Tom Rodriguez
7d0158d27f Merge 2009-08-14 15:55:26 -07:00
Tom Rodriguez
398fffa232 6862863: C2 compiler fails in elide_copy()
Reviewed-by: kvn
2009-08-14 15:53:46 -07:00
Andrey Petrusenko
ead860c069 6872000: G1: compilation fails on linux/older gcc
Reviewed-by: jcoomes, tonyp
2009-08-14 13:44:15 -07:00
Vladimir Kozlov
6f927f1578 6869822: assert(Universe::narrow_oop_shift() == 0,"use unscaled narrow oop")
Replace the assert with narrow_oop_shift set to 0.

Reviewed-by: never, jcoomes
2009-08-14 12:23:11 -07:00
Tim Bell
65e1007b58 Merge 2009-08-14 08:50:00 -07:00
Tom Rodriguez
c94a076d34 6862956: PhaseIdealLoop should have a CFG verification mode
Reviewed-by: kvn, twisti
2009-08-14 00:02:12 -07:00
Erik Trimble
3d20d74ae0 Merge 2009-08-13 17:59:05 -07:00
Erik Trimble
68e4dd4816 6871765: Bump the HS16 build number to 08
Update the HS16 build number to 08

Reviewed-by: jcoomes
2009-08-13 17:47:43 -07:00
Xiomara Jayasena
6c9a7e8afe Added tag jdk7-b69 for changeset 93c79b9962dd 2009-08-13 12:11:07 -07:00
John Coomes
1a11be46ca 6867645: java -Xshare:dump failed - read only space too small
Reviewed-by: iveresov, tonyp, ysr
2009-08-12 14:27:54 -07:00
John Coomes
1a7648b1c2 6866585: debug code in ciObjectFactory too slow for large objects
Reviewed-by: ysr, never, kvn
2009-08-11 23:24:41 -07:00
Daniel D. Daugherty
aca1d9534f 6862945: 4/3 conversion of jmethodID to methodOop in JVMTI is too expensive
Refactor JNIHandles::checked_resolve_jmethod_id() into fast and paranoid parts.

Reviewed-by: never, alanb
2009-08-11 11:57:51 -06:00
Abhijit Saha
301d96b277 Merge 2009-08-10 10:52:11 -07:00
Y. Srinivas Ramakrishna
7a1d233375 Merge 2009-08-09 17:03:51 -07:00
Abhijit Saha
cbc42a9c38 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:42 -07:00
John R Rose
09a4ee51c2 Merge 2009-08-06 16:15:16 -07:00
John R Rose
383f39ffa1 6868487: EnableInvokeDynamic and EnableMethodHandles should not be visible flags in JDK6 or JDK7
Switch them from product to experimental; 6817525 will toggle them and switch to diagnostic

Reviewed-by: kvn
2009-08-06 14:28:54 -07:00
Tom Rodriguez
90e6599f47 6868051: (SA) FreeChunk support for compressed oops is broken
Reviewed-by: kvn, dcubed
2009-08-06 12:24:41 -07:00
Xiomara Jayasena
8fae4c547c Added tag jdk7-b68 for changeset 4ae7310eb37d 2009-08-06 10:25:05 -07:00
Vladimir Kozlov
ab7a29cdcc Merge 2009-08-06 09:37:26 -07:00
Y. Srinivas Ramakrishna
1121581e07 6868991: JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved
JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved

Reviewed-by: jcoomes
2009-08-05 18:54:12 -07:00
John Coomes
3474b7fa5b 6821693: 64-bit TaskQueue capacity still too small
6821507: Alignment problem in GC taskqueue

Reviewed-by: tonyp, apetrusenko
2009-08-05 12:33:29 -07:00
Changpeng Fang
3e7e112ee5 6868269: CompileTheWorld assertion failure introduced by the reexecute bit implementation
Improvement on reexecute implementation to fix the assertion failure

Reviewed-by: kvn, never
2009-08-04 21:32:08 -07:00
Vladimir Kozlov
adcbcc3cdc 6868486: timouts and outOfMemory in regression tests
Increase timeout for tests and heap size for 6851282 test.

Reviewed-by: never, cfang
2009-08-04 17:11:17 -07:00
John Cuthbertson
f1cbffdd3e 6819077: G1: first GC thread coming late into the GC
The first worker thread is delayed when entering the GC because it clears the card count table that is used in identifying hot cards. Replace the card count table with a dynamically sized evicting hash table that includes an epoch based counter.

Reviewed-by: iveresov, tonyp
2009-08-04 16:00:17 -07:00
John Cuthbertson
36917caf5e 6865703: G1: Parallelize hot card cache cleanup
Have the GC worker threads clear the hot card cache in parallel by having each worker thread claim a chunk of the card cache and process the cards in that chunk. The size of the chunks that each thread will claim is determined at VM initialization from the size of the card cache and the number of worker threads.

Reviewed-by: jmasa, tonyp
2009-08-03 12:59:30 -07:00
Jon Masamitsu
73392a7312 Merge 2009-08-02 22:33:27 -07:00
Jon Masamitsu
bd1c93a58e 6843292: "Expect to be beyond new region unless impacting another region" assertion too strong
In the assertion allow for collision with the guard page.

Reviewed-by: tonyp, ysr, jcoomes
2009-08-02 19:10:31 -07:00
Jon Masamitsu
d9b7798319 6862534: -XX:NewRatio completely ignored when combined with -XX:+UseConcMarkSweepG
Use NewRatio if it is explicitly set.

Reviewed-by: ysr, jcoomes
2009-08-02 18:44:36 -07:00
Changpeng Fang
ae00753bf7 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens

Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
Vladimir Kozlov
f2ea22a547 6865031: Application gives bad result (throws bad exception) with compressed oops
Produce narrow type for new Phi from the original Phi type.

Reviewed-by: cfang
2009-07-31 12:04:07 -07:00
Y. Srinivas Ramakrishna
968de64586 Merge 2009-07-31 10:41:29 -07:00
Vladimir Kozlov
9f97cf13e8 6864914: SPECjvm2008 produces invalid result with zero based Compressed Oops
Always use "lea" instruction for narrow oop decoding instead of "shift".

Reviewed-by: never
2009-07-30 16:05:56 -07:00
Antonios Printezis
243367ec16 6819085: G1: use larger and/or user settable region size
Instead of the region size being hard-coded, allow the user to set it.

Reviewed-by: jmasa, johnc, apetrusenko
2009-07-30 16:22:58 -04:00
Y. Srinivas Ramakrishna
c6763b5bad 4957990: Perm heap bloat in JVM
Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately.

Reviewed-by: jcoomes, jmasa, kvn, never
2009-09-02 00:04:29 -07:00
Andrey Petrusenko
2491751525 6841313: G1: dirty cards of survivor regions in parallel
Reviewed-by: tonyp, iveresov
2009-08-31 05:27:29 -07:00
John Coomes
e7c70c499b 6845368: large objects cause a crash or unexpected exception
Reviewed-by: jmasa, iveresov
2009-08-13 16:22:45 -07:00
John Coomes
662adda5e6 6861660: OopMapBlock count/size confusion
Reviewed-by: tonyp, iveresov
2009-08-11 15:37:23 -07:00
Antonios Printezis
6a97a03610 Merge 2009-08-24 13:52:42 -07:00
Jon Masamitsu
20a43bad21 6798898: CMS: bugs related to class unloading
Override should_remember_klasses() and remember_klass() as needed.

Reviewed-by: ysr, jcoomes
2009-08-24 10:36:31 -07:00
Antonios Printezis
4d138cd094 6871111: G1: remove the concurrent overhead tracker
Removing the concurrent overhead tracker from G1, along with the GC overhead reporter and the G1AccountConcurrentOverhead (both of which rely on the the concurrent overhead tracker).

Reviewed-by: iveresov, johnc
2009-08-19 12:53:25 -04:00
Coleen Phillimore
76a4e2a8c1 Merge 2009-07-30 15:06:19 -04:00
Antonios Printezis
1d0a8b2945 6866591: G1: print update buffer processing stats more often
It adds parameter -XX:+G1SummarizeRSetStatsPeriod that causes update buffer processing information to be printed periodically. It also includes two small formatting changes.

Reviewed-by: jmasa, jcoomes, ysr
2009-07-30 14:50:58 -04:00
Xiomara Jayasena
d1a146f003 Added tag jdk7-b67 for changeset c8b1b0aecdfe 2009-07-30 10:58:25 -07:00
Erik Trimble
e846382e12 Merge 2009-07-29 16:00:35 -07:00
Antonios Printezis
5f7ed79e3c 6864886: G1: rename -XX parameters related to update buffers
Renaming a couple of update buffer-related parameters to make them more understandable and consistent.

Reviewed-by: iveresov, ysr
2009-07-29 11:01:26 -04:00
Daniel D. Daugherty
10e13deca1 Merge 2009-07-28 13:50:07 -06:00
Daniel D. Daugherty
40de9c5fcc 6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
Correctly count full GC operations for framework collectors. Add ForceFullGCJVMTIEpilogues as a future work around if needed.

Reviewed-by: jcoomes, alanb, ysr
2009-07-28 13:35:00 -06:00
Xiomara Jayasena
a63ef10004 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Christian Thalinger
6dd47535cd 6863155: Server compiler generates incorrect code (x86, long, bitshift, bitmask)
Code compiled with server compiler generates an incorrect result.

Reviewed-by: cfang, never, kvn
2009-07-28 09:02:30 +02:00
Coleen Phillimore
3e69a71772 Merge 2009-07-27 17:23:52 -04:00
Mandy Chung
3c30eafbb5 6864003: Modify JVM_FindClassFromBootLoader to return null if class not found
JVM_FindClassFromBootLoader returns null if class not found

Reviewed-by: acorn, alanb, dholmes
2009-07-27 09:06:22 -07:00
Christian Thalinger
714db48492 Merge 2009-07-27 06:15:29 -07:00
Vladimir Kozlov
2641db378b 6863420: os::javaTimeNanos() go backward on Solaris x86
Use new atomic long load method Atomic::load() to load max_hrtime.

Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Vladimir Kozlov
9387db9948 6851386: assert(b->find_node(def) < j,"uses must follow definitions")
Add additional check for a tight loop.

Reviewed-by: never
2009-07-26 12:59:41 -07:00
Erik Trimble
d911e41fe7 6864901: Bump the HS16 build number to 07
Update the HS16 build number to 07

Reviewed-by: jcoomes
2009-07-24 16:41:16 -07:00
Erik Trimble
6ac5f30765 Merge 2009-07-24 16:40:56 -07:00
Xiomara Jayasena
7084283bfa Added tag jdk7-b66 for changeset f367b7c24c74 2009-07-24 13:39:51 -07:00
Y. Srinivas Ramakrishna
1b6412363e Merge 2009-07-24 12:49:31 -07:00
Tom Rodriguez
86034e0e20 6861984: solaris version of libsaproc.so should support SA_ALTROOT directly
Reviewed-by: kvn, twisti
2009-07-24 12:40:40 -07:00
Vladimir Kozlov
1a7cfb7023 Merge 2009-07-24 09:01:00 -07:00
Vladimir Kozlov
8dd34cd52f 6860599: nodes limit could be reached during Output phase
Bailout compilation if nodes limit could be reached during Output phase.

Reviewed-by: never, twisti
2009-07-23 14:53:56 -07:00
Y. Srinivas Ramakrishna
759881b511 6863216: Clean up debugging debris inadvertently pushed with 6700789
Anti-delta for debugging debris that was inadvertently pushed.

Reviewed-by: kvn, tonyp
2009-07-22 18:25:00 -07:00
Vladimir Kozlov
b0f75657c5 6826736: CMS: core dump with -XX:+UseCompressedOops
Fix deoptimization code and OopMapSet::all_do() to check for oop = narrow_oop_base.

Reviewed-by: jcoomes, phh, ysr, never
2009-07-22 15:48:51 -07:00
Andrey Petrusenko
0e783b7554 6862661: G1: _gc_alloc_region_counts is not updated properly after 6604422
Implementation of RFE 6604422 (G1: re-use half-promoted regions) introduced incorrect _gc_alloc_region_counts updates which effectively disabled survivor spaces.

Reviewed-by: johnc, jmasa, tonyp
2009-07-22 02:46:55 -07:00
John R Rose
db41917a7e Merge 2009-07-21 21:33:44 -07:00
John R Rose
6515225d49 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
Remove useless lazy evaluation of intrinsics; add LAST_COMPILER_INLINE to help categorize them

Reviewed-by: kvn
2009-07-21 16:56:06 -07:00
Tom Rodriguez
62ca1df1dd 6857159: local schedule failed with checkcast of Thread.currentThread()
Reviewed-by: kvn
2009-07-21 16:42:58 -07:00
Christian Thalinger
6b849a12a0 6860920: serialize.cpp shouldn't use objArrayOopDesc::base_offset_in_bytes(T_BYTE)
Serialize.cpp currently uses objArrayOopDesc::base_offset_in_bytes(T_BYTE), which seems to be wrong.

Reviewed-by: coleenp, kvn
2009-07-20 08:20:00 -07:00
Vladimir Kozlov
7229ae9b95 Merge 2009-07-17 00:50:55 -07:00
Poonam Bajaj
fea09e9cd0 6840305: Discrepancy in system memory details (when 4G or greater) reported by JVM and Windows OS
GlobalMemoryStatus() does not report correct memory usage when the system has more than 4gb of RAM. GlobalMemoryStatusEx() should be used in place of GlobalMemoryStatus().

Reviewed-by: kamg, coleenp
2009-07-16 18:21:40 -07:00
Tom Rodriguez
1c4a7e95bb 6861513: correct copyright attribution in test for 6837094 and 6860469
Reviewed-by: rasbold
2009-07-16 17:59:27 -07:00
Vladimir Kozlov
2e2f60507e 6851282: JIT miscompilation results in null entry in array when using CompressedOops
Get type for new Phi from non dead path.

Reviewed-by: never
2009-07-16 16:29:55 -07:00
Vladimir Kozlov
c3efa899b6 6851742: (EA) allocation elimination doesn't work with UseG1GC
Fix eliminate_card_mark() to eliminate G1 pre/post barriers.

Reviewed-by: never
2009-07-16 14:10:42 -07:00
Y. Srinivas Ramakrishna
509c9c3b93 Merge 2009-07-16 12:38:26 -07:00
Xiomara Jayasena
7edbc2373c Added tag jdk7-b65 for changeset 60611616dba4 2009-07-16 10:53:09 -07:00
Hiroshi Yamauchi
a24ea182cc 6860469: remix_address_expressions sets incorrect control causing crash in split_if_with_block_post
Co-authored-by: Chuck Rasbold <rasbold@google.com>
Reviewed-by: never, kvn
2009-07-15 13:37:35 -07:00
Antonios Printezis
26c66d0015 6859911: G1: assert(Heap_lock->owner() = NULL, "Should be owned on this thread's behalf")
The used() method assumes that the heap lock is held when it is called. However, when used() is called from print_on(), this is not the case.

Reviewed-by: ysr, jmasa
2009-07-15 12:22:59 -04:00
Erik Trimble
99152f67ed Merge 2009-07-14 19:43:04 -07:00
Y. Srinivas Ramakrishna
075c1335cb 6700789: G1: Enable use of compressed oops with G1 heaps
Modifications to G1 so as to allow the use of compressed oops.

Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
2009-07-14 15:40:39 -07:00
Tom Rodriguez
df1c3da3f8 Merge 2009-07-13 15:00:22 -07:00
Tom Rodriguez
5a409d142f 6859338: amd64 native unverified entry point pushes values before implicit null check
Reviewed-by: kvn, twisti
2009-07-13 14:58:17 -07:00
Xiomara Jayasena
068ac9fe23 Added tag jdk7-b64 for changeset 4905b291b676 2009-07-13 14:47:36 -07:00
Erik Trimble
ce9342d060 Merge 2009-07-11 03:18:30 -07:00
Erik Trimble
6480dd7357 6859411: Bump the HS16 build number to 06
Update the HS16 build number to 06

Reviewed-by: jcoomes
2009-07-10 19:10:02 -07:00
Y. Srinivas Ramakrishna
50d7db1805 Merge 2009-07-10 16:01:20 -07:00
Antonios Printezis
1215bc6717 6855834: G1: minimize the output when -XX:+PrintHeapAtGC is set
Changing the behavior of -XX:+PrintHeapAtGC for G1 from printing lengthy, per-region information to instead printing a concise summary.

Reviewed-by: ysr, apetrusenko, jcoomes
2009-07-07 14:23:00 -04:00
Vladimir Kozlov
855149e2e6 Merge 2009-07-07 09:54:06 -07:00
Vladimir Kozlov
5a1032d9e6 6857661: 64-bit server VM: assert(is_Initialize(),"invalid node class")
Move the secondary raw memory barrier to the correct place in generate_arraycopy().

Reviewed-by: never
2009-07-06 15:53:30 -07:00
Changpeng Fang
92d332e08b 6857707: Add missing test case for CR 6855164 from its bug description
Add missing test case for CR 6855164 from its bug description.

Reviewed-by: never
2009-07-06 12:54:17 -07:00
Jon Masamitsu
bac53feed5 Merge 2009-07-02 16:28:15 -07:00
Changpeng Fang
7a36ade1ec 6855164: SIGSEGV during compilation of method involving loop over CharSequence
Don not split a block if it contains a FastLockNode with a PhiNode input.

Reviewed-by: kvn, never
2009-07-02 16:18:19 -07:00
Xiomara Jayasena
21c2f06cab Added tag jdk7-b63 for changeset 06171649948f 2009-07-02 11:10:50 -07:00
Vladimir Kozlov
bb726c6f28 6840775: Multiple JVM crashes seen with 1.6.0_10 through 1.6.0_14
Put missed reference to allocated array in copyOf() intrinsic into OopMap for the call slow_arraycopy().

Reviewed-by: never
2009-07-01 20:22:18 -07:00
Vladimir Kozlov
9d4cd45834 Merge 2009-07-01 15:06:54 -07:00
Tom Rodriguez
da11e65fa4 6856025: assert(_base >= OopPtr && _base <= KlassPtr,"Not a Java pointer")
Reviewed-by: kvn
2009-07-01 12:22:23 -07:00
Erik Trimble
9fa3fbda4b 6856257: Bump the HS16 build number to 05
Update the HS16 build number to 05

Reviewed-by: jcoomes
2009-06-30 10:40:31 -07:00
Jeremy Manson
28d4ad46aa 6850957: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Call report_java_out_of_memory("Requested array size exceeds VM limit")

Reviewed-by: tbell, dholmes, alanb, ysr
2009-06-29 14:42:12 -07:00
Mandy Chung
08f5aeffc1 6857194: Add hotspot perf counters to aid class loading performance measurement
Add new jvmstat counters to measure detailed class loading time

Reviewed-by: acorn, kamg
2009-07-10 11:10:00 -07:00
Antonios Printezis
eec17fe775 6855115: G1: Fix for 6850869 is incorrect
Missed updating two variable names when improving the code for 6850869.

Reviewed-by: iveresov, jmasa, ysr
2009-06-29 12:17:03 -04:00
Tom Rodriguez
986d570981 6851908: interpreter null check profiling broken causing extra compilation invalidation
Reviewed-by: kvn
2009-06-26 16:14:31 -07:00
Tom Rodriguez
3bdd70fe18 6818666: G1: Type lost in g1 pre-barrier
Reviewed-by: kvn
2009-06-26 13:03:29 -07:00
Andrey Petrusenko
bf215dbb7e 6854027: Precompiled headers are not being updated in Linux/GCC builds
Fixes incorrect handling of precompiled headers in diff mode.

Reviewed-by: never, twisti
2009-06-26 09:22:19 -07:00
Christian Thalinger
a9ad90fa87 5057225: Remove useless I2L conversions
The optimizer should be told to normalize (AndL (ConvI2L x) 0xFF) to (ConvI2L (AndI x 0xFF)), and then the existing matcher rule will work for free.

Reviewed-by: kvn
2009-06-26 07:26:10 -07:00
Erik Trimble
0fc1aa3a2b Merge 2009-06-25 22:01:08 -07:00
Xiomara Jayasena
5cd0d5d07c Added tag jdk7-b62 for changeset c9577b36ceac 2009-06-25 12:09:48 -07:00
Vladimir Kozlov
8f6070ce0e 6841800: Incorrect boundary values behavior for option -XX:MaxLabelRootDepth=0-6 leads to jvm crash
MaxLabelRootDepth value less then 10 is invalid.

Reviewed-by: never
2009-06-24 12:00:51 -07:00
Antonios Printezis
3a643c42b0 6850869: G1: RSet "scrubbing" scrubs too much
RSet scrubbing incorrectly deletes RSet entries that point to regions tagged as "continues humongous" due to a race when RSet scrubbing iterates over regions in parallel.

Reviewed-by: apetrusenko, iveresov
2009-06-24 11:42:03 -04:00
Christian Thalinger
26949087c0 Merge 2009-06-24 02:09:45 -07:00
Chuck Rasbold
2c5f52b511 6837094: False positive for "meet not symmetric" failure
Have the meet not symmetric check recursively do the interface-vs-oop check on array subtypes.

Reviewed-by: jrose
2009-06-23 17:52:29 -07:00
Jon Masamitsu
c8140c1078 Merge 2009-06-19 07:33:25 -07:00
Xiomara Jayasena
b1455878ee Added tag jdk7-b61 for changeset c97f5ba46ed8 2009-06-18 13:05:25 -07:00
Jon Masamitsu
317dafead1 Merge 2009-06-18 12:40:53 -07:00
Christian Thalinger
bc2c9e927f 6851829: solaris build fails with 5.8 compilers
Solaris builds with the CC 5.8 compilers (used for jdk6 update builds) fail while compiling adlc.

Reviewed-by: never
2009-06-17 09:08:56 -07:00
Antonios Printezis
f741e2fceb 6850846: G1: extend G1 marking verification
Extend G1 marking verification to use either the "prev" or "next" marking information, as appropriate.

Reviewed-by: johnc, ysr
2009-06-12 16:20:16 -04:00
Erik Trimble
d560c41ebf Merge 2009-06-11 21:01:07 -07:00
Erik Trimble
79522a9709 6850551: Bump the HS16 build number to 04
Update the HS16 build number to 04

Reviewed-by: jcoomes
2009-06-11 17:56:51 -07:00
Erik Trimble
d42eeab7f3 Merge 2009-06-11 17:46:40 -07:00
John Coomes
24f3527be2 6849716: BitMap - performance regression introduced with G1
Make verification code visible only in debug builds

Reviewed-by: iveresov, ysr, johnc, apetrusenko, tonyp
2009-06-11 13:31:01 -07:00
Xiomara Jayasena
283db215ef Added tag jdk7-b60 for changeset 4df6b30560c1 2009-06-11 10:54:09 -07:00
Jon Masamitsu
46dcdf10e6 Merge 2009-06-10 14:57:21 -07:00
Tom Rodriguez
0f4f530213 6849574: VM crash using NonBlockingHashMap (high_scale_lib)
Reviewed-by: kvn
2009-06-10 12:19:48 -07:00
Vladimir Kozlov
7b9d6a79ac 6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA.

Reviewed-by: never
2009-06-09 16:19:10 -07:00
Igor Veresov
307bb62ca5 6849122: G1: Typo introduced during implementation of the parallel refinement
Typo fix

Reviewed-by: jcoomes
2009-06-08 16:14:19 -07:00
John Coomes
10002fa2ff 6814552: par compact - some compilers fail to optimize bitmap code
Reviewed-by: tonyp, iveresov, jmasa, ysr
2009-06-07 22:08:24 -07:00
John Cuthbertson
70fe3ca4f5 6843694: G1: assert(index < _vs.committed_size(),"bad index"), g1BlockOffsetTable.inline.hpp:55
For heaps larger than 32Gb, the number of heap regions overflows the data type used to hold the region index in the SparsePRT structure. Changed the region indexes, card indexes, and RSet hash table buckets to ints and added some size overflow guarantees.

Reviewed-by: ysr, tonyp
2009-06-11 17:19:33 -07:00
Y. Srinivas Ramakrishna
9d9317de4c 6820167: GCALotAtAllSafepoints + FullGCALot(ScavengeALot) options crash JVM
Short-circuit gc-a-lot attempts by non-JavaThreads; SkipGCALot c'tor to elide re-entrant gc-a-lot attempts.

Reviewed-by: apetrusenko, jcoomes, jmasa, kamg
2009-06-11 12:40:00 -07:00
Y. Srinivas Ramakrishna
9611174798 6848641: CMSCollector::_roots_scanning_options should be initialized
The field is now initialized in the constructor.

Reviewed-by: iveresov, jmasa, johnc
2009-06-07 00:27:41 -07:00
Changpeng Fang
0429abd38a 6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization
Add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame

Reviewed-by: never
2009-06-05 10:25:39 -07:00
Tom Rodriguez
73a6885c23 Merge 2009-06-03 18:15:25 -07:00
Tom Rodriguez
fd4d5540ba Merge 2009-06-03 15:16:50 -07:00
Tom Rodriguez
169c83bf8d 6847305: solaris reorder mapfiles generate too many warnings
Reviewed-by: kvn
2009-06-03 15:02:13 -07:00
Changpeng Fang
f981546f2d 6837146: Should perform unswitch before maximally unroll in loop transformation
Move loop unswitch before maximally unroll

Reviewed-by: never
2009-05-28 09:37:18 -07:00
Vladimir Kozlov
802f3552f9 6843752: missing code for an anti-dependent Phi in GCM
Don't place a load below anti-dependent PHI.

Reviewed-by: never, twisti
2009-05-27 12:35:51 -07:00
John Coomes
a720198e39 Merge 2009-05-26 16:43:42 -07:00
Xiaobin Lu
627e2d9b8d 6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack
Reviewed-by: phh, dice, never, swamyv
2009-05-22 16:40:38 -07:00
Vladimir Kozlov
fdb3ca8708 6772683: Thread.isInterrupted() fails to return true on multiprocessor PC
Set the control edge for the field _interrupted load in inline_native_isInterrupted().

Reviewed-by: never
2009-05-21 10:05:36 -07:00
Tomas Hurka
6ee565c7b8 6839599: JVM crash while profiling Tomcat and Liferay
ConstantPoolOopDesc::copy_cpool_bytes() - do the brute-force search search through 'tbl' when SymbolTable::lookup_only() returns NULL

Reviewed-by: kamg
2009-05-20 09:36:53 +02:00
Kelly O'Hair
b988772464 6843041: Remove duplicate README files in repositories (make/README)
Reviewed-by: robilad
2009-05-19 17:40:10 -07:00
Andrey Petrusenko
b7eda61fb6 6819065: G1: eliminate high serial card table clearing time
Reviewed-by: iveresov, tonyp
2009-05-19 04:05:31 -07:00
Igor Veresov
4f6c7e4a14 6841831: G1: assert(contains_reference(from),"We just added it!") fires
During parallel rset updating we have to make sure that the worker ids of the refinement threads do not intersect with the worker ids that can be claimed by the mutator threads.

Reviewed-by: tonyp
2009-05-18 11:52:46 -07:00
Kelly O'Hair
affd74638e Merge 2009-05-15 18:14:44 -07:00
Kelly O'Hair
d73143f27c Merge 2009-05-15 13:41:04 -07:00
Vassili Igouchkine
9ca52ee60e Added tag jdk7-b59 for changeset ba9ddcebd212 2009-05-14 10:57:58 -07:00
Erik Trimble
a31fce833b Merge 2009-05-13 08:46:58 -07:00
Erik Trimble
236059bc4e Merge 2009-05-13 08:40:46 -07:00
Christian Thalinger
8a262ce04b 6814842: Load shortening optimizations
6797305 handles load widening but no shortening which should be covered here.

Reviewed-by: never, kvn
2009-05-13 00:45:22 -07:00
Igor Veresov
702a13b785 6840196: NUMA allocator: crash in fastdebug during startup on Linux
With libnuma >1.2 explicity use 1.1 symbols

Reviewed-by: ysr
2009-05-12 15:55:56 -07:00
Vladimir Kozlov
e101bdf5df 6836054: java/util/Arrays/CopyMethods.java fails on solaris-sparc with IllegalArgumentException
Do not mark an allocation as scalar replaceable if its actual type in unknown statically.

Reviewed-by: never
2009-05-11 18:30:13 -07:00
Vladimir Kozlov
6202395cb2 6832293: JIT compiler got wrong result in type checking with -server
Check for an object array of interface in CmpPNode::sub().

Reviewed-by: never
2009-05-11 17:59:54 -07:00
Igor Veresov
8c764e214c 6484957: G1: parallel concurrent refinement
6826318: G1: remove traversal-based refinement code

Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel.

Reviewed-by: tonyp
2009-05-11 16:30:56 -07:00
Vassili Igouchkine
c724f6fbe7 Added tag jdk7-b58 for changeset 4b001cb378e2 2009-05-11 12:08:06 -07:00
Kelly O'Hair
09e524e11b Merge 2009-05-08 23:00:08 -07:00
Erik Trimble
7df98bfb6b Merge 2009-05-08 19:50:32 -07:00
Igor Veresov
dacaa6b65d 6838842: NUMA allocator: Segfault during startup on Linux
Restored os::free_memory() semantics

Reviewed-by: apetrusenko
2009-05-08 15:20:10 -07:00
Kelly O'Hair
4ac53f2566 6839151: Add a JPRT default test of -Xshare:dump when new hotspot is built
Reviewed-by: never, kvn
2009-05-08 15:16:38 -07:00
Kelly O'Hair
a3ead33c8d 6839126: Type error found by newer windows compiler
Reviewed-by: never, kvn
2009-05-08 14:33:58 -07:00
Vladimir Kozlov
34ee921399 6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Cache Jvmti and DTrace flags used by Compiler.

Reviewed-by: never
2009-05-08 10:44:20 -07:00
Vladimir Kozlov
b5cff6a1a0 Merge 2009-05-08 10:34:31 -07:00
Erik Trimble
67fd924e0e 6838819: Bump the HS16 build number to 03
Update the HS16 build number to 03

Reviewed-by: jcoomes
2009-05-07 21:35:30 -07:00
Erik Trimble
2827b06412 Merge 2009-05-07 21:33:37 -07:00
Vladimir Kozlov
955a453996 Merge 2009-05-07 17:09:48 -07:00
John Coomes
4b2a0a80b5 Merge 2009-05-07 13:54:48 -07:00
Xiomara Jayasena
e53c553749 Merge 2009-05-07 10:30:17 -07:00
Keith McGuigan
e703c7c158 Merge 2009-05-07 11:44:53 -04:00
Christian Thalinger
a7d12b2fbf Merge 2009-05-07 04:16:53 -07:00
Christian Thalinger
1576a9be9e Merge 2009-05-07 00:28:13 -07:00
Tom Rodriguez
21e4bf1052 6838154: make/linux/makefiles/sa.make needs hash-style fix
Reviewed-by: kvn, jrose
2009-05-06 17:52:45 -07:00
Christian Thalinger
96139033e6 6837011: SIGSEGV in PhaseIdealLoop in 32bit jvm
The CR's test crashes with SIGSEGV when running with "-server -Xcomp" using using 32bit jvm.

Reviewed-by: kvn, never, rasbold
2009-05-06 12:04:42 -07:00
Christian Thalinger
e53f13b49f 6837906: compiler tests of 6636138 fail with IllegalAccessException
The compiler tests of 6636138 fail with an IllegalAccessException.

Reviewed-by: kvn
2009-05-06 08:57:24 -07:00
Christian Thalinger
6a270f9f19 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
These methods can be instrinsified by using bit scan, bit test, and population count instructions.

Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
John Cuthbertson
92afe130d1 6833576: G1: assert illegal index, growableArray.hpp:186
The code that calculates the heap region index for an object address incorrectly used signed arithmetic.

Reviewed-by: jcoomes, ysr
2009-05-05 22:15:35 -07:00
Changpeng Fang
716c78f080 6833879: Assigning positive zero is ignored when old value is negative zero
Don't perform CMOVE identity optimization for floating point types

Reviewed-by: kvn, never
2009-05-05 11:02:10 -07:00
Tom Rodriguez
df05badc49 6837224: libsaproc.so on linux needs version of 6799141
Reviewed-by: kvn
2009-05-04 22:06:47 -07:00
Poonam Bajaj
1e41f46948 6829234: Refix 6822407 and 6812971
Fixes two SA issues 6822407 and 6812971

Reviewed-by: swamyv, acorn, kvn, coleenp
2009-05-04 17:58:10 -07:00
Andrey Petrusenko
907a41e100 Merge 2009-05-04 02:57:39 -07:00
Vladimir Kozlov
3c70cff23a 6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
Switch off GCC 4.3.0 optimized compilation for mulnode.o.

Reviewed-by: johnc
2009-04-30 15:57:29 -07:00
John Cuthbertson
55750920b4 6490395: G1: Tidy up command line flags
Change G1 flag names to be more consistent and disable some in 'product' mode.

Reviewed-by: tonyp, iveresov
2009-04-30 15:07:53 -07:00
Xiomara Jayasena
b2a4da69f0 Added tag jdk7-b57 for changeset 86c4409e49f6 2009-04-30 15:04:27 -07:00
Vladimir Kozlov
e329e92190 Merge 2009-04-30 12:09:39 -07:00
John Coomes
cdc2e5a6af Merge 2009-04-30 09:53:20 -07:00
Kelly O'Hair
232190dc7b 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: kvn
2009-04-29 17:30:20 -07:00
John Coomes
e2a126f80d 6834202: Bump the HS16 build number to 02
Reviewed-by: jmasa
2009-04-29 13:27:51 -07:00
John Coomes
f40f23b2f0 Merge 2009-04-29 13:22:09 -07:00
Vladimir Kozlov
2c4602adb3 6834177: Running jsynprog on Solaris Nevada can cause JVM crash
Use CodeCache buffer blob instead of static buffer in AdapterHandlerLibrary.

Reviewed-by: never
2009-04-29 12:58:09 -07:00
Igor Veresov
db68fa7326 6819098: G1: reduce RSet scanning times
Added a feedback-driven exponential skipping for parallel RSet scanning.

Reviewed-by: tonyp, apetrusenko
2009-04-27 16:52:18 -07:00
Vladimir Kozlov
9e0929adba Merge 2009-04-27 12:55:28 -07:00
Vladimir Kozlov
a1533dafce 6834142: method->print_codes(): Error: ShouldNotReachHere()
Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes().

Reviewed-by: jrose
2009-04-27 12:45:14 -07:00
Andrey Petrusenko
5213d97280 Merge 2009-04-27 12:33:57 -07:00
Tom Rodriguez
8e16f6b5c4 Merge 2009-04-24 18:45:14 -07:00
Tom Rodriguez
60e1a19b44 6833573: C2 sparc: assert(c < 64 && (c & 1) == 0,"bad double float register")
Reviewed-by: twisti
2009-04-24 15:08:30 -07:00
Changpeng Fang
003ca0f848 6833951: Extra ":" Causes Testcase in CR 6589834 "Parse Exception: Invalid tag: summary:"
Remove the colon

Reviewed-by: never
2009-04-24 09:14:39 -07:00
Xiomara Jayasena
57d7af3e23 Added tag jdk7-b56 for changeset 5bef15d9d54a 2009-04-23 15:54:48 -07:00
Changpeng Fang
04fdef79fa 6589834: deoptimization problem with -XX:+DeoptimizeALot
Relocate the stack pointer adjustment to where uncommon_trap is actually inserted for new_array.

Reviewed-by: kvn, jrose
2009-04-23 14:04:24 -07:00
Antonios Printezis
c2578847e2 6829013: G1: set the default value of G1VerifyConcMarkPrintRechable to false
Turn off G1VerifyConcMarkPrintReachable by default to minimize the amount of verbose output we generate by default.

Reviewed-by: jmasa
2009-04-23 16:58:16 -04:00
Erik Trimble
e84d20271d 6833316: jprt.properties not setting values for 6u14 release flag
Fix jprt.properties to do 6u14 tests right

Reviewed-by: ohair
2009-04-22 19:30:54 -07:00
Vladimir Kozlov
273a47426e 6709742: find_base_for_derived's use of Ideal NULL is unsafe causing crashes during register allocation
Create a mach node corresponding to ideal node ConP #NULL specifically for derived pointers.

Reviewed-by: never
2009-04-22 17:03:18 -07:00
Xiaobin Lu
ee78b15d5a Merge 2009-04-22 11:47:26 -07:00
Christian Thalinger
b9f27b5eea Merge 2009-04-22 06:09:24 -07:00
John R Rose
34c1d72421 6655646: dynamic languages need dynamically linked call sites
Invokedynamic instruction (JSR 292 RI)

Reviewed-by: twisti, never
2009-04-21 23:21:04 -07:00
Erik Trimble
9e2e7197f6 Merge 2009-04-21 15:08:49 -07:00
Coleen Phillimore
2e43a0450f 6830069: UseLargePages is broken on Win64
Making VirtualAlloc/VirtualProtect two calls for PAGE_EXECUTE_READWRITE doesn't work for MEM_LARGE_PAGES.

Reviewed-by: xlu, kvn, jcoomes
2009-04-21 16:12:51 -04:00
Christian Thalinger
57d945fd3d 6822110: Add AddressLiteral class on SPARC
The Address class on SPARC currently handles both, addresses and address literals, what makes the Address class more complicated than it has to be.

Reviewed-by: never, kvn
2009-04-21 11:16:30 -07:00
Tom Rodriguez
fd05c28901 Merge 2009-04-20 14:48:03 -07:00
Tom Rodriguez
425fb8197e 6831604: missing null check in guarantee
Reviewed-by: kvn
2009-04-17 12:22:18 -07:00
Vladimir Kozlov
6615262737 6831323: Use v8plus as minimum required hardware for current Hotspot sources
Use -xarch=v8plus as default for 32-bits VM on sparc.

Reviewed-by: never, twisti
2009-04-17 09:38:32 -07:00