Commit Graph

3753 Commits

Author SHA1 Message Date
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
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
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
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
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
Antonios Printezis
0c790abc79 Merge 2009-10-03 10:53:08 -04: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
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
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
Andrey Petrusenko
698cbc8361 Merge 2009-09-25 04:39:54 -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
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
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
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
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