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
Vladimir Kozlov
d19aa4e217
6892265: System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes
...
Use size_t type cast to widen int values in typeArrayKlass::copy_array().
Reviewed-by: never, jcoomes
2009-12-03 14:20:22 -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
Changpeng Fang
2c40841f3f
Merge
2009-11-10 17:00:18 -08:00
Jon Masamitsu
bedf908436
6898857: [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
...
Use CollectorPolicy information instead of MaxNewSize
Reviewed-by: ysr, jcoomes
2009-11-10 11:32:48 -08:00
Keith McGuigan
a3b18775c7
Merge
2009-11-06 16:05:59 -05:00
Keith McGuigan
d98c05b678
Merge
2009-11-06 15:04:26 -05:00
John Cuthbertson
f473d94b9c
6895788: G1: SATB and update buffer allocation code allocates too much space
...
The type in the NEW_C_HEAP_ARRRY and FREE_C_HEAP_ARRAY calls in the buffer allocation code was changed from void* to char as the size argument had already been mulitipled by the byte size of an object pointer.
Reviewed-by: ysr, tonyp
2009-11-06 11:10:05 -08:00
Erik Trimble
37c4dee7db
Merge
2009-11-06 00:41:40 -08:00
Erik Trimble
61acb34177
6898707: Bump the HS17 build number to 05
...
Update the HS17 build number to 05
Reviewed-by: jcoomes
2009-11-05 15:58:32 -08:00
Erik Trimble
98ce9a72d2
Merge
2009-11-05 15:44:04 -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