Commit Graph

1316 Commits

Author SHA1 Message Date
Erik Trimble
7c54f15bde Merge 2010-02-05 12:26:35 -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
Michael Wilkerson
06f98d7a76 Added tag jdk7-b82 for changeset a84303f7ca26 2010-02-04 11:19:23 -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
Tom Rodriguez
af0c45705b Merge 2010-02-03 18:33:04 -08:00
Hiroshi Yamauchi
688398edef 6921969: optimize 64 long multiply for case with high bits zero
Reviewed-by: never, twisti, kvn, rasbold
2010-02-03 15:56:37 -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
Daniel D. Daugherty
8acae99fd8 Merge 2010-02-02 11:08:17 -07:00
Daniel D. Daugherty
54c04bca93 6918421: 1/1 in-process JVM now ignores preset Windows unhandled exception filter
Add support for chaining Windows UnhandledExceptionFilter handlers

Reviewed-by: kamg, dholmes, never, acorn, ikrylov
2010-02-02 10:37:32 -07: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
Michael Wilkerson
2fb0850cfd Added tag jdk7-b81 for changeset 4197a09e1259 2010-01-28 11:26:42 -08:00
Gary Benson
6e4af7581c 6920970: Zero build fixes after 6849984 and 6911204
Two recent commits broke the build on Zero.

Reviewed-by: twisti
2010-01-28 08:36:34 -08: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
Erik Trimble
233fefb60d 6919437: Bump the HS17 build number to 08
Update the HS17 build number to 08

Reviewed-by: jcoomes
2010-01-22 15:01:00 -08:00
Erik Trimble
c8f93eade6 Merge 2010-01-22 14:57:12 -08:00
Andrey Petrusenko
35324b7e7d 6918006: G1: spill space must be reserved on the stack for barrier calls on Windows x64
Stub code generated to call G1 barriers does not allocate spill space on the stack as required by Windows x64 ABI. The fix is to use more ABI-friendly call_VM_leaf().

Reviewed-by: iveresov, never, kvn
2010-01-21 18:51:10 -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
Michael Wilkerson
ede6404548 Added tag jdk7-b80 for changeset 8f15a8afca28 2010-01-21 11:12:25 -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
Vladimir Kozlov
a0cb26b72d 6893701: compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC
Remove explicit GC flags in regression tests

Reviewed-by: never, ysr
2010-01-19 15:54:42 -08:00
Erik Trimble
0f5710a2e2 Merge 2010-01-19 14:23:18 -08:00
Vladimir Kozlov
bb4f475e1b 6917931: compiler/6895383/Test.java don't compile due missed imports
Add missing imports.

Reviewed-by: never, twisti
2010-01-19 10:25:54 -08:00
Edward Nevill
3ea93d46c4 6917698: os::is_allocatable Zero fix for 32-bit platforms
Recent changes call os::is_allocatable which was not implemented in Zero.

Reviewed-by: twisti
2010-01-18 05:02:41 -08: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
Erik Trimble
5ce386d80e 6917463: Bump the HS17 build number to 07
Update the HS17 build number to 07

Reviewed-by: jcoomes
2010-01-15 14:28:16 -08:00
Erik Trimble
a538576b56 Merge 2010-01-15 14:25:44 -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
David Katleman
ea80682a9f Added tag jdk7-b79 for changeset 9b63533d5895 2010-01-14 15:48:26 -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
Y. Srinivas Ramakrishna
c0174fb200 Merge 2010-01-09 09:01:41 -08:00
Tom Rodriguez
96612c6e23 6909839: missing unsigned compare cases for some cmoves in sparc.ad
Reviewed-by: kvn, jrose
2010-01-09 00:59: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
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
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
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
Jon Masamitsu
69342d1472 6912018: CMS: guarantee(head() != 0,"The head of the list cannot be NULL")
Block too small to split was not correctly putback to free lists.

Reviewed-by: ysr
2010-01-07 08:14:45 -08:00
Igor Veresov
5bec0d60ab Merge 2010-01-06 22:21:39 -08:00
Tom Rodriguez
ac5dfe00c7 Merge 2010-01-06 14:25:03 -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
Tom Rodriguez
0998a8591f 6914002: unsigned compare problem after 5057818
Reviewed-by: kvn, twisti
2010-01-05 16:12:26 -08:00
Tom Rodriguez
6c0af1575c Merge 2010-01-05 11:16:09 -08:00
Gary Benson
99b489b4f7 6908267: Zero fails to unlock synchronized native methods on exception
Reviewed-by: never
2010-01-05 11:14:54 -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
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
Christian Thalinger
14305ba3f4 Merge 2010-01-04 07:04:46 -08:00
Christian Thalinger
3a896a1408 6894206: JVM needs a way to traverse method handle structures
We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers.

Reviewed-by: kvn
2010-01-04 15:52:40 +01:00
Gary Benson
3baf653c68 6913869: Zero assert fix
Zero currently won't build on zSeries or PowerPC machines with assertions turned on.

Reviewed-by: twisti
2010-01-04 03:34:40 -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
Erik Trimble
286ca964ca Merge 2009-12-23 02:57:31 -08:00
Jon Masamitsu
6494298403 Merge 2009-12-23 00:47:04 -08:00
Jon Masamitsu
9e0ee0f526 Merge 2009-12-22 22:35:08 -08:00
Igor Veresov
f64d1c0216 Merge 2009-12-22 17:56:03 -08:00
Erik Trimble
54542ccadf 6912782: Bump the HS17 build number to 06
Update the HS17 build number to 06

Reviewed-by: jcoomes
2009-12-22 16:35:08 -08:00
Erik Trimble
1b52c50931 Merge 2009-12-22 16:33:46 -08:00
Erik Trimble
113321f4a7 Merge 2009-12-22 16:32:11 -08:00
Michael Wilkerson
1cba1184f3 Added tag jdk7-b78 for changeset c60317f0dfe6 2009-12-17 14:10:24 -08:00
Jon Masamitsu
9610e7e0af Merge 2009-12-17 07:02:39 -08:00
Tom Rodriguez
eb547a56a5 5057818: codecache full and compiler disabled in bigapps fastdebug run
Reviewed-by: kvn
2009-12-16 22:15:12 -08:00
Xiaobin Lu
47f7d77695 Merge 2009-12-16 15:44:08 -08:00
Igor Veresov
1383dc414b 6862387: tune concurrent refinement further
Reworked the concurrent refinement: threads activation, feedback-based threshold adjustment, other miscellaneous fixes.

Reviewed-by: apetrusenko, tonyp
2009-12-16 15:12:51 -08:00
Xiaobin Lu
f42d7fcedb 6895168: JCK api/signaturetest/sigtest.basic.html#basic test fails for jdk 5.0 with HS 16 in nightly build
Reviewed-by: dholmes, acorn, jrose
2009-12-16 14:27:50 -08:00
Xiaobin Lu
ad61b86753 6899467: System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build
Reviewed-by: kvn, never, dholmes, ysr
2009-12-16 13:16:08 -08:00
Jesse Glick
cef018f382 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:48 -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
Christian Thalinger
fae9c37803 6829192: JSR 292 needs to support 64-bit x86
Changes for method handles and invokedynamic

Reviewed-by: kvn
2009-12-16 12:48:04 +01:00
Igor Veresov
bcf018d026 Merge 2009-12-15 17:19:40 -08:00
Daniel D. Daugherty
ab3b12bdbd Merge 2009-12-14 13:26:29 -07:00
Daniel D. Daugherty
ce78944539 6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
If a JVMTI agent asks for version 1.0, then it should get version 1.0 semantics.

Reviewed-by: dholmes, ohair
2009-12-14 10:05:36 -07:00
Daniel D. Daugherty
8dd1b6ace1 6648438: 4/4 src/share/vm/prims/jvmtiEnv.cpp:457 assert(phase == JVMTI_PHASE_LIVE,"sanity check")
Return error on invalid JVMTI_PHASE instead of asserting.

Reviewed-by: dholmes, ohair
2009-12-14 09:51:09 -07:00
Erik Trimble
6f0c95f7a3 Merge 2009-12-11 16:38:37 -08: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
Jon Masamitsu
1bed5a3ded Merge 2009-12-11 09:30:48 -08:00
Jon Masamitsu
c5b5e2e3a7 Merge 2009-12-11 08:39:30 -08:00
John Cuthbertson
93d5e80a7e 6908215: G1: SEGV with G1PolicyVerbose=2 debug flag
Change CollectionSetChooser::printSortedHeapRegions to handle null entries in _markedRegions growable array.

Reviewed-by: jmasa, tonyp, iveresov
2009-12-09 23:51:38 -08: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
Y. Srinivas Ramakrishna
d090b4fe29 6908208: UseCompressedOops: array_size() returns incorrect size for MAX_INT object array following 6906727
In array_size() cast to an unsigned to avoid overflow of intermediate value.

Reviewed-by: kvn, tonyp, jmasa, jcoomes, coleenp
2009-12-08 15:12:17 -08:00
Antonios Printezis
203cd9408a 6904967: G1: some CollectionUsageThreshold tests fail
Ensure that max and committed are non-zero (currently: at least as large as the region size).

Reviewed-by: iveresov, mchung
2009-12-07 14:22:34 -05:00
Antonios Printezis
911a80e5d5 6906565: G1: deal with compilation warning in g1MemoryPool.hpp
Size_t max_size() hides size_t max_size() const.

Reviewed-by: jmasa, ysr
2009-12-04 07:44:41 -05:00
Antonios Printezis
8a125d9913 6880903: G1: G1 reports incorrect Runtime.maxMemory()
G1 reports committed memory instead of reserved memory from the Runtime.maxMemory() method

Reviewed-by: ysr, jmasa
2009-12-04 07:44:35 -05:00
Y. Srinivas Ramakrishna
d875a8e0f1 6906727: UseCompressedOops: some card-marking fixes related to object arrays
Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).

Reviewed-by: kvn, coleenp, jmasa
2009-12-03 15:01:57 -08:00
Michael Wilkerson
740223f03b Added tag jdk7-b77 for changeset 3b5dba03cfd7 2009-12-03 12:52:49 -08:00
David Holmes
baf249687c Merge 2009-12-02 20:32:27 -05: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
Coleen Phillimore
0f3f714a22 Merge 2009-12-02 07:59:49 -08:00
Igor Veresov
b5e3a7a597 Merge 2009-12-01 22:11:01 -08:00
David Holmes
10232cb341 6822370: ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450)
This day one bug is caused by missing memory barriers in various Parker::park() paths that can result in lost wakeups and hangs.

Reviewed-by: dice, acorn
2009-12-01 22:29:02 -05: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
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
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
Keith McGuigan
c3f175e0d5 Merge 2009-11-25 09:03:42 -05:00
John Cuthbertson
5a239d996b 6899058: G1: Internal error in ptrQueue.cpp:201 in nightly tests
Fixes a race on the dirty card queue completed buffer list between worker thread(s) performing a flush of a deferred store barrier (enqueueing a newly completed buffer) and worker thread(s) in the RSet updating code claiming completed buffers. Removed the routine that removes elements from the completed update buffer queue using a CAS.

Reviewed-by: ysr, tonyp
2009-11-24 15:19:30 -08:00
Changpeng Fang
4a2266601a Merge 2009-11-24 11:49:42 -08:00
Karen Kinnear
8b3ec53033 Merge 2009-11-23 16:24:35 -05:00
Paul Hohensee
4aba621c22 6900899: vm fails to start when -Xmx value is less than OldSize + NewSize
Set minimum heap size to min(OldSize + NewSize, MaxHeapSize) in Arguments::set_heap_size().

Reviewed-by: kvn, ysr, tonyp
2009-11-20 16:22:38 -05:00
Antonios Printezis
9cf0c891d9 6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
It introduces the necessary memory pools for G1.

Reviewed-by: mchung, ysr
2009-11-20 14:47:01 -05: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
Y. Srinivas Ramakrishna
b5af9f3408 6902303: G1: ScavengeALot should cause an incremental, rather than a full, collection
ScavengeALot now causes an incremental (but possibly partially young, in the G1 sense) collection. Some such collections may be abandoned on account of MMU specs. Band-aided a native leak associated with abandoned pauses, as well as an MMU tracker overflow related to frequent scavenge events in the face of a large MMU denominator interval; the latter is protected by a product flag that defaults to false.

Reviewed-by: tonyp
2009-11-19 13:43:25 -08:00
Y. Srinivas Ramakrishna
c54bb4236d 6902701: G1: protect debugging code related to 6898948 with a debug flag
Protected stats dump with a new develop flag; other than for the dump, reconciled product and non-product behaviour in face of the error.

Reviewed-by: tonyp
2009-11-19 10:19:19 -08:00
Christian Thalinger
e6547d1b20 6902000: use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
Set_entry_point is only ever used with the tos states of bytecode templates in templateTable.cpp and none of those use the subword tos states like btos, ctos and stos.

Reviewed-by: kvn
2009-11-19 03:41:29 -08:00
Y. Srinivas Ramakrishna
241f0f0cd8 6898948: G1: forensic instrumentation for out-of-bounds recent_avg_pause_time_ratio()
Added instrumentation and (temporary) assert in non-product mode; clipped the value when found out-of-bounds in product mode. Fix of original issue will follow collection of data from this instrumentation.

Reviewed-by: jcoomes, tonyp
2009-11-13 11:55:26 -08:00
David Katleman
39adc1c2b2 Added tag jdk7-b76 for changeset 02d36709a16f 2009-11-12 15:35:38 -08:00
Tom Rodriguez
9db2092b1b 6892658: C2 should optimize some stringbuilder patterns
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -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
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