Vladimir Kozlov
9110d86267
Merge
2010-02-12 15:27:36 -08:00
Vladimir Kozlov
d4437819bd
6925249: assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos")
...
Fix assert since top deoptimized frame has last_sp == interpreter_frame_monitor_begin if there are no expressions.
Reviewed-by: twisti
2010-02-12 08:54:13 -08:00
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
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
Andrei Pangin
134e70e53b
Merge
2010-02-04 15:50:59 -08:00
Christian Thalinger
82ce2c602b
Merge
2010-02-04 03:34:05 -08:00
Tom Rodriguez
aecc4f4081
6921922: fix for 6911204 breaks tagged stack interpreter
...
Reviewed-by: kvn
2010-02-03 12:28:30 -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
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
Y. Srinivas Ramakrishna
679f958f72
Merge
2010-01-27 22:38:37 -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
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
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
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
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
Igor Veresov
ba4994e447
Merge
2010-01-12 13:54:40 -08:00
Y. Srinivas Ramakrishna
c0174fb200
Merge
2010-01-09 09:01:41 -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
John R Rose
fdbb64ef71
6912062: disassembler plugin needs to produce symbolic information in product mode
...
More informative disassembly in product mode. Also, a more consistent CompileCommand syntax.
Reviewed-by: never
2010-01-08 13:47:01 -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
Gary Benson
5d66f5aca8
6914622: Print values of all flags for product VM
...
Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial.
Reviewed-by: phh, ysr
2010-01-07 16:24:17 -08:00
Igor Veresov
5bec0d60ab
Merge
2010-01-06 22:21:39 -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
Y. Srinivas Ramakrishna
642d1bc555
6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed
...
Decoupled TraceClassUnloading from verbose:gc, JVMTI_VERBOSE_GC and PrintGC[Details], making it settable in a manner identical to TraceClassLoading. Reverted an inadvertent change of TraceClassUnloading output in a previous changeset from gclog back to tty.
Reviewed-by: coleenp, dholmes, jmasa, poonam
2010-01-04 14:51:26 -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
Jon Masamitsu
1335d16d6e
Merge
2010-01-04 07:58:42 -08:00
Gary Benson
915d9602fe
6909153: Fix broken options on Zero
...
Smaller fixes to ensure that Zero still works with non-standard options.
Reviewed-by: twisti
2010-01-04 00:22:57 -08:00
Y. Srinivas Ramakrishna
272a6d47bb
6631166: CMS: better heuristics when combatting fragmentation
...
Autonomic per-worker free block cache sizing, tunable coalition policies, fixes to per-size block statistics, retuned gain and bandwidth of some feedback loop filters to allow quicker reactivity to abrupt changes in ambient demand, and other heuristics to reduce fragmentation of the CMS old gen. Also tightened some assertions, including those related to locking.
Reviewed-by: jmasa
2009-12-23 09:23:54 -08:00
Erik Trimble
4909043745
Merge
2009-12-23 03:12:16 -08:00
Paul Hohensee
ce423c9e98
6843629: Make current hotspot build part of jdk5 control build
...
Source changes for older compilers plus makefile changes.
Reviewed-by: xlu
2009-12-16 12:54:49 -05:00
Yumin Qi
4f656a451e
6361589: Print out stack trace for target thread of GC crash
...
If GC crashed with java thread involved, print out the java stack trace in error report
Reviewed-by: never, ysr, coleenp, dholmes
2009-12-11 11:09:49 -08:00
Coleen Phillimore
0f3f714a22
Merge
2009-12-02 07:59:49 -08:00
Igor Veresov
b5e3a7a597
Merge
2009-12-01 22:11:01 -08:00
Igor Veresov
7dc1f5f545
Merge
2009-12-01 14:49:41 -08:00
Gary Benson
63cc2211ed
6896043: first round of zero fixes
...
Reviewed-by: kvn
2009-11-27 07:56:58 -08:00
Mandy Chung
b409d16477
6888880: JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook
...
Call sun.jkernel.DownloadManager.setBootClassLoaderHook during the kernel VM initialization
Reviewed-by: alanb, coleenp, acorn
2009-11-25 08:37:04 -08:00