Vladimir Kozlov
22409a5704
6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
...
Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.
Reviewed-by: never
2010-02-09 01:31:13 -08:00
Vladimir Kozlov
3f7a94c3f2
6910605: C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
...
Set the reexecute bit for runtime calls _new_array_Java when they used for _multianewarray bytecode.
Reviewed-by: never
2010-02-08 12:20:09 -08:00
Antonios Printezis
a88853347f
6802453: G1: hr()->is_in_reserved(from),"Precondition."
...
The operations of re-using a RSet component and expanding the same RSet component were not mutually exlusive, and this could lead to RSets getting corrupted and entries being dropped.
Reviewed-by: iveresov, johnc
2010-02-08 14:23:01 -05:00
John Cuthbertson
e003616106
Merge
2010-02-08 09:58:32 -08:00
Vladimir Kozlov
2fd8d35905
6923002: assert(false,"this call site should not be polymorphic")
...
Clear the total count when a receiver information is cleared.
Reviewed-by: never, jrose
2010-02-07 12:15:06 -08:00
Tom Rodriguez
c1be36be1b
6920293: OptimizeStringConcat causing core dumps
...
Reviewed-by: kvn, twisti
2010-02-05 11:07:40 -08:00
Antonios Printezis
c157b744ed
6920977: G1: guarantee(k == probe->klass(),"klass should be in dictionary") fails
...
The guarantee is too strict and the test will fail (incorrectly) if the class is not in the system dictionary but in the placeholders.
Reviewed-by: acorn, phh
2010-02-05 11:05:50 -05:00
Andrei Pangin
134e70e53b
Merge
2010-02-04 15:50:59 -08:00
Tom Rodriguez
22ce62f2d1
6921992: failure in verify scheduling after 6792161
...
Reviewed-by: kvn
2010-02-04 11:16:23 -08:00
Christian Thalinger
82ce2c602b
Merge
2010-02-04 03:34:05 -08:00
Vladimir Kozlov
d4878296c5
6923043: failed nightly tests which use -XX:+PrintCompilation -Xcomp -XX:CompileOnly
...
Print "made not compilable" line only for deoptimizations.
Reviewed-by: never
2010-02-03 15:03:22 -08:00
Tom Rodriguez
aecc4f4081
6921922: fix for 6911204 breaks tagged stack interpreter
...
Reviewed-by: kvn
2010-02-03 12:28:30 -08:00
John Cuthbertson
7f9ba03c32
6914402: G1: assert(!is_young_card(cached_ptr),"shouldn't get a card in young region")
...
Invalid assert. Filter cards evicted from the card count cache instead.
Reviewed-by: apetrusenko, tonyp
2010-02-02 18:39:50 -08:00
Y. Srinivas Ramakrishna
c61ab190cf
6904516: More object array barrier fixes, following up on 6906727
...
Fixed missing pre-barrier calls for G1, modified C1 to call pre- and correct post-barrier interfaces, deleted obsolete interface, (temporarily) disabled redundant deferred barrier in BacktraceBuilder.
Reviewed-by: coleenp, jmasa, kvn, never
2010-02-01 17:29:01 -08:00
Vladimir Kozlov
0c27c5537e
6614597: Performance variability in jvm2008 xml.validation
...
Fix incorrect marking of methods as not compilable.
Reviewed-by: never
2010-02-01 16:49:49 -08:00
Tom Deneau
f23b68b367
6902182: 4/4 Starting with jdwp agent should not incur performance penalty
...
Rename can_post_exceptions support to can_post_on_exceptions. Add support for should_post_on_exceptions flag to permit per JavaThread optimizations.
Reviewed-by: never, kvn, dcubed
2010-02-01 17:35:05 -07:00
Christian Thalinger
4e8608a124
6921799: JSR 292 call sites should not be fixed-up
...
MethodHandle invoke call sites should not be fixed-up by SharedRuntime::fixup_callers_callsite as c2i/i2c adapters are used to implement MethodHandle actions.
Reviewed-by: kvn, never
2010-02-01 23:18:47 +01:00
Christian Thalinger
918c7a2e33
6921352: JSR 292 needs its own deopt handler
...
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose
2010-02-01 19:29:46 +01:00
Tom Rodriguez
8cc63249e9
6916644: C2 compiler crash on x86
...
Reviewed-by: kvn, twisti
2010-01-29 22:51:41 -08:00
John Cuthbertson
b34027a600
6885297: java -XX:RefDiscoveryPolicy=2 or -XX:TLABWasteTargetPercent=0 cause VM crash
...
Interval checking is now being performed on the values passed in for these two flags. The current acceptable range for RefDiscoveryPolicy is [0..1], and for TLABWasteTargetPercent it is [1..100].
Reviewed-by: apetrusenko, ysr
2010-01-29 14:51:38 -08:00
Eric Caspole
a57d68e35b
4360113: Evict nmethods when code cache gets full
...
Speculatively unload the oldest nmethods when code cache gets full.
Reviewed-by: never, kvn
2010-01-29 09:27:22 -08:00
Christian Thalinger
9aa675b7e6
6921339: backout 6917766
...
Reviewed-by: mr
2010-01-29 08:33:24 -08:00
Christian Thalinger
fbc43afae6
6917766: JSR 292 needs its own deopt handler
...
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose
2010-01-29 12:13:05 +01:00
Tom Rodriguez
07c442542c
6792161: assert("No dead instructions after post-alloc")
...
Reviewed-by: kvn
2010-01-28 20:41:37 -08:00
Tom Rodriguez
0b2600abcd
6920346: G1: "must avoid base_memory and AliasIdxTop"
...
Reviewed-by: kvn
2010-01-28 16:28:28 -08:00
Karen Kinnear
57b48ea42a
Merge
2010-01-28 13:59:18 -05:00
Y. Srinivas Ramakrishna
679f958f72
Merge
2010-01-27 22:38:37 -08:00
Igor Veresov
43b70061e4
Merge
2010-01-27 14:06:27 -08:00
Y. Srinivas Ramakrishna
b75896a657
Merge
2010-01-26 23:36:11 -08:00
Y. Srinivas Ramakrishna
342a620a7f
6920090: G1: Disable ReduceInitialCardMarks at least until 6920109 is fixed
...
G1 now answers "no" to the query can_elide_initializing_store_barrier() in the product build. A debug flag allows alternate behaviour in debug builds.
Reviewed-by: iveresov, tonyp
2010-01-26 16:52:29 -08:00
Eric Caspole
f557cc8bd0
6919886: Sweep CodeCache more aggressively to reduce its usage for CompileTheWorld
...
Add safepoint after CompileTheWorldSafepointInterval (100) compilations and do full sweep of CodeCache each time.
Reviewed-by: never
2010-01-26 08:53:24 -08:00
Antonios Printezis
e19600ac5d
6919980: G1: remove +UseG1GC from under experimental options (second attempt)
...
Trying this again, as the original change was lost.
Reviewed-by: ysr, jmasa
2010-01-25 18:03:29 -05:00
Coleen Phillimore
492ac08f92
Merge
2010-01-22 15:06:53 -08:00
Y. Srinivas Ramakrishna
1c342cf62d
Merge
2010-01-21 14:47:01 -08:00
Jon Masamitsu
b2ed547ec0
6895236: CMS: cmsOopClosures.inline.hpp:43 assert(..., "Should remember klasses in this context")
...
Adjust assertion checking for ExplicitGCInvokesConcurrentAndUnloadsClasses as a reason for class unloading
Reviewed-by: ysr
2010-01-21 11:33:32 -08:00
Vladimir Kozlov
0ebcf0d492
6894807: No ClassCastException for HashAttributeSet constructors if run with -Xcomp
...
Return interface klass type if it is exact.
Reviewed-by: never
2010-01-21 10:07:59 -08:00
Tom Rodriguez
bac125984c
6911204: generated adapters with large signatures can fill up the code cache
...
Reviewed-by: kvn, jrose
2010-01-20 22:10:33 -08:00
Igor Veresov
ae60c05fee
Merge
2010-01-20 12:54:25 -08:00
Daniel D. Daugherty
ecbf962c7b
Merge
2010-01-20 11:32:41 -07:00
Karen Kinnear
8101e71766
6626217: Fixed loader constraint array handling
...
Loader constraints track array elements, not arrays themselves.
Reviewed-by: dcubed, kevinw
2010-01-19 16:03:09 -05:00
Y. Srinivas Ramakrishna
d327b24c06
Merge
2010-01-16 23:51:50 -08:00
Tom Rodriguez
f839a363ca
6879943: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029
...
Reviewed-by: kvn, cfang
2010-01-15 16:15:45 -08:00
Tom Rodriguez
72d0f638c7
6849984: Value methods for platform dependent math functions constant fold incorrectly
...
Reviewed-by: kvn, twisti
2010-01-15 11:53:33 -08:00
John R Rose
8214fc3a3b
6912065: final fields in objects need to support inlining optimizations for JSR 292
...
Reviewed-by: twisti, kvn
2010-01-13 23:05:52 -08:00
John Cuthbertson
29a13dc105
6915005: G1: Hang in PtrQueueSet::completed_buffers_list_length with gcl001
...
When enqueuing a completed PtrQueue buffer, cache a local pointer to the buffer and clear the field in the PtrQueue prior to unlocking the mutex referenced by the _lock field and pass the cached local value to the enqueuing routine. This will prevent the same completed buffer being enqueued multiple times, which causes the hang.
Reviewed-by: ysr
2010-01-13 15:45:47 -08:00
Y. Srinivas Ramakrishna
331512606a
6896647: card marks can be deferred too long
...
Deferred card marks are now flushed during the gc prologue. Parallel[Scavege,OldGC] and SerialGC no longer defer card marks generated by COMPILER2 as a result of ReduceInitialCardMarks. For these cases, introduced a diagnostic option to defer the card marks, only for the purposes of testing and diagnostics. CMS and G1 continue to defer card marks. Potential performance concern related to single-threaded flushing of deferred card marks in the gc prologue will be addressed in the future.
Reviewed-by: never, johnc
2010-01-13 15:26:39 -08:00
Vasanth Venkatachalam
a5e58e8d53
6580131: 3/4 CompiledMethodLoad events don't produce the expected extra notifications to describe inlining
...
Add support for additional implementation specific info to the JVM/TI CompiledMethodLoad event via the compile_info parameter.
Reviewed-by: never, ohair, tbell, tdeneau
2010-01-13 09:39:46 -07:00
John Cuthbertson
0917ad432e
6902115: G1:assert(ignore_max_completed||thread->is_Java_thread()||SafepointSynchronize::is_at_safepoint())
...
Remove invalid assert and mangle filler objects in TLABs that are being retired.
Reviewed-by: ysr, jmasa
2010-01-12 14:56:46 -08:00
Changpeng Fang
815db4fcba
6894779: Loop Predication for Loop Optimizer in C2
...
Loop predication implementation
Reviewed-by: never, kvn
2010-01-12 14:37:35 -08:00
Igor Veresov
ba4994e447
Merge
2010-01-12 13:54:40 -08:00