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
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
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
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
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
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
Igor Veresov
ae60c05fee
Merge
2010-01-20 12:54:25 -08:00
Y. Srinivas Ramakrishna
d327b24c06
Merge
2010-01-16 23:51:50 -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
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
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
John R Rose
48bd193a36
Merge
2010-01-08 18:27:20 -08:00
John R Rose
6fbdf208fc
6912063: inlining parameters need to be adjusted for some uses of the JVM
...
Put all inline-related switches into product mode, to allow tuning by dynamic language implementors.
Reviewed-by: twisti, kvn
2010-01-08 13:58:49 -08:00
Vladimir Kozlov
eca996c10f
6910484: incorrect integer optimization (loosing and op-r in a given example)
...
Remove AND operation only if mask is equal to shift.
Reviewed-by: never
2010-01-08 09:51:24 -08:00
Kevin Brown
7548b8eed5
6915110: IfNode::up_one_dom moves beyond RootNode bug in src/share/vm/opto/ifnode.cpp
...
Check RootNode before check Loop in IfNode::up_one_dom().
Reviewed-by: never
2010-01-08 09:42:31 -08:00
Christian Thalinger
e5fb2ad1c4
6914206: change way of permission checking for generated MethodHandle adapters
...
Put generated MH adapter in InvokeDynamic/MethodHandle classes to be able to indentify them easily in the compiler.
Reviewed-by: kvn, never, jrose
2010-01-08 11:09:46 +01:00
Vladimir Kozlov
8da8433a6f
6912517: JIT bug compiles out (and stops running) code that needs to be run. Causes NPE
...
Add missing check that value is used in memory expression in instructions with embedded load.
Reviewed-by: never, jrose
2010-01-07 16:26:31 -08:00
Tom Rodriguez
98449cf2c2
6914300: ciEnv should export all well known classes
...
Reviewed-by: kvn, twisti
2010-01-06 14:22:39 -08:00
Christian Thalinger
47f2433a58
6893268: additional dynamic language related optimizations in C2
...
C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance.
Reviewed-by: kvn, never
2010-01-05 15:21:25 +01:00
Christian Thalinger
375527d84e
6829187: compiler optimizations required for JSR 292
...
C2 implementation for invokedynamic support.
Reviewed-by: kvn, never
2010-01-05 13:05:58 +01:00
Vladimir Kozlov
9be2e29930
6913075: EA identifies escape state incorrectly after 6895383 fix
...
EA incorrectly identifies escape state of an allocation passed as call argument.
Reviewed-by: never
2010-01-04 15:21:09 -08:00
Christian Thalinger
caf28727eb
6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
...
During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.
Reviewed-by: kvn, never
2010-01-04 18:38:08 +01:00
Vladimir Kozlov
00f583219f
6896727: nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys
...
Move instance store's memory users to corresponding memory slices when updating its memory edge.
Reviewed-by: never
2009-12-09 19:50:14 -08:00
Vladimir Kozlov
9f5ca0249d
6895383: JCK test throws NPE for method compiled with Escape Analysis
...
Add missing checks for MemBar nodes in EA.
Reviewed-by: never
2009-12-09 16:40:45 -08:00
Tom Rodriguez
dfbb0bf3e2
6908167: jbb2005, OptimizeStringConcat causes assert in EA
...
Reviewed-by: kvn
2009-12-08 16:27:21 -08:00
Changpeng Fang
8a9580b1a1
6901572: JVM 1.6.16 crash on loops: assert(has_node(i),"")
...
Skip the secondary induction variable handling if it is dead
Reviewed-by: never, kvn
2009-12-02 13:29:00 -08:00
Changpeng Fang
a3b6bcb4a8
6904191: OptimizeStringConcat should be product instead of experimental
...
Make OptimizeStringConcat a product VM option(contributed by never)
Reviewed-by: never
2009-11-25 12:09:02 -08:00
Tom Rodriguez
9db2092b1b
6892658: C2 should optimize some stringbuilder patterns
...
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
Vladimir Kozlov
39a98bab1d
6902036: WorldWind asserts on escape.cpp:1153: assert(addr->is_AddP(),"AddP required")
...
Remove the assert.
Reviewed-by: twisti
2009-11-19 14:32:23 -08:00
Tom Rodriguez
1fb2423873
6892079: live value must not be garbage failure after fix for 6854812
...
Reviewed-by: kvn
2009-11-11 23:39:17 -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
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
Changpeng Fang
c1eacdef5a
Merge
2009-10-29 08:49:31 -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
Antonios Printezis
e57cedc5ed
Merge
2009-10-20 11:28:25 -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
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
John Coomes
7e76feaf42
6888953: some calls to function-like macros are missing semicolons
...
Reviewed-by: pbk, kvn
2009-10-11 16:19:25 -07:00
Erik Trimble
8cea3ed3b4
Merge
2009-10-09 15:18:52 -07:00