315 Commits

Author SHA1 Message Date
Jon Masamitsu
3b5d6a04dd 6690928: Use spinning in combination with yields for workstealing termination
Substitute a spin loop for most calls to yield() to reduce the stress on the system.

Reviewed-by: tonyp
2009-02-08 13:18:01 -08:00
Vladimir Kozlov
72b75d1adf 6788376: allow to ignore unrecognized VM options
Add new product flag -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: ysr, xlu
2009-02-05 13:38:52 -08:00
Y. Srinivas Ramakrishna
d981bd442b 6787254: Work queue capacity can be increased substantially on some platforms
Increased the default and maximum size of the CMS marking stack and the size of the parallel workers' work queues in 64-bit mode. The latter was accomplished by an increase in the width of the Taskqueue's Age struct and its Tag field in 64-bit mode.

Reviewed-by: jmasa, tonyp
2009-01-30 14:17:52 -08:00
Y. Srinivas Ramakrishna
34b247f068 Merge 2009-01-29 21:25:42 -08:00
Y. Srinivas Ramakrishna
f031c45430 6786503: Overflow list performance can be improved
Avoid overflow list walk in CMS & ParNew when it is unnecessary. Fix a couple of correctness issues, including a C-heap leak, in ParNew at the intersection of promotion failure, work queue overflow and object array chunking. Add stress testing option and related assertion checking.

Reviewed-by: jmasa
2009-01-26 12:47:21 -08:00
Paul Hohensee
73aaa40e09 6792705: Add JAR file to bootclasspath when using AggressiveOpts
During argument processing, add alt-rt.jar to the bootclasspath between bootclasspath/p and default elements.

Reviewed-by: xlu, coleenp
2009-01-21 11:14:19 -05:00
Coleen Phillimore
76f79d82ad Merge 2009-01-09 14:39:07 -05:00
Tom Rodriguez
956dc037db Merge 2009-01-06 16:10:11 -08:00
Karen Kinnear
315de68fc0 4670071: loadClassInternal is too restrictive
VM support for deadlock fix. Library fix in 4735126. See API proposal.

Reviewed-by: dholmes, blacklion
2009-01-05 13:44:03 -05:00
Xiaobin Lu
f05b009ce8 6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2

Reviewed-by: jcoomes, acorn, phh, never
2008-12-24 19:13:53 -08:00
Gary Benson
347b8afe5b 6778657: Casts in SharedRuntime::f2i, f2l, d2i and d2l rely on undefined C++ behaviour
Replaces SharedRuntime::f2i et al with versions that should work

Reviewed-by: never
2008-12-22 15:43:02 -08:00
Erik Trimble
ac1f463988 Merge 2008-12-20 09:58:36 -08:00
Erik Trimble
efd43c045a Merge 2008-12-20 09:57:03 -08:00
Xiaobin Lu
34c4172bfe Merge 2008-12-20 00:45:18 -08:00
Poonam Bajaj
0f5687c1eb 6786340: hs14b09a pit: a lot of tests failed in "-server -Xcomp" on solaris-amd64 using fastdebug bits
Fixes the nsk-jdi PIT failures introduced by fix for 6739363

Reviewed-by: kvn, coleenp
2008-12-18 17:28:41 -08:00
Xiomara Jayasena
99f0eac1a2 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:11 -08:00
Swamy Venkataramanappa
06e37c03fb 6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes
Reviewed-by: ysr, mchung
2008-12-15 13:58:57 -08:00
Jon Masamitsu
31308ae8e4 Merge 2008-12-12 15:37:46 -08:00
Lev Serebryakov
0d7bfcafab Merge 2008-12-12 10:19:39 -08:00
Vladimir Kozlov
6483f9c7f8 Merge 2008-12-11 17:20:10 -08:00
John Coomes
8fc946854c 6765954: par compact - stress mode for splitting young gen spaces
Reviewed-by: jmasa
2008-12-11 12:05:21 -08:00
John Coomes
000b184507 6578152: fill_region_with_object has usability and safety issues
Reviewed-by: apetrusenko, ysr
2008-12-11 12:05:08 -08:00
Lev Serebryakov
92ea783f35 6639341: sometimes contended-exit event comes after contended-entered on another thread
DTrace probe "contended-exit" should be fired before unparking object, or context could be lost. Probe firing was moved to proper place.

Reviewed-by: coleenp, kamg
2008-12-11 03:22:04 -08:00
Coleen Phillimore
e0d2bfab81 6727377: VM stack guard pages on Windows should PAGE_READWRITE not PAGE_EXECUTE_READWRITE
Make reguard_stack change access to RW, not execute and use os::protect_memory with the new parameter when change needed to X.

Reviewed-by: acorn, jcoomes
2008-12-10 15:14:29 -08:00
John R Rose
e50f766540 6779339: turn off LinkWellKnownClasses by default pending further testing
Temporarily turn off LinkWellKnownClasses optimization

Reviewed-by: never, kvn
2008-12-08 17:15:02 -08:00
Lev Serebryakov
1d59997abe Merge 2008-12-05 15:06:37 -05:00
Poonam Bajaj
9330807714 Merge 2008-12-04 17:48:02 -08:00
Poonam Bajaj
eddda26255 6739363: Xcheck jni doesn't check native function arguments
Fix adds support for verifying arguments with -Xcheck:jni.

Reviewed-by: coleenp
2008-12-04 17:29:56 -08:00
Igor Veresov
af509dd90d 6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
In os::Linux::rebuild_cpu_to_node_map() fix the size of the CPU bitmap. Fixed arithmetic in MutableNUMASpace::adaptive_chunk_size() that could cause overflows and underflows of the chunk_size variable.

Reviewed-by: apetrusenko
2008-12-03 14:18:57 -08:00
Igor Veresov
ed99040266 Merge 2008-11-26 09:24:57 -08:00
Xiaobin Lu
85138023c1 6554406: Change switch UseVMInterruptibleIO default to false (sol)
The default value of UseVMInterruptibleIO is changed to false for JDK 7, but the default isn't changed for JDK 6 and earlier.

Reviewed-by: never, acorn, dholmes, kamg, alanb
2008-11-22 00:16:09 -08:00
Keith McGuigan
e64aa947c4 Merge 2008-11-21 15:10:14 -05:00
Coleen Phillimore
50a5499c50 6676175: BigApps crash JVM Client VM (build 10.0-b22, mixed mode, sharing) with SIGSEGV (0xb)
Add test for biased locking epoch before walking own thread stack in case of rare race

Reviewed-by: phh, never
2008-11-21 08:09:11 -08:00
Y. Srinivas Ramakrishna
db6bef2c70 6722113: CMS: Incorrect overflow handling during precleaning of Reference lists
When we encounter marking stack overflow during precleaning of Reference lists, we were using the overflow list mechanism, which can cause problems on account of mutating the mark word of the header because of conflicts with mutator accesses and updates of that field. Instead we should use the usual mechanism for overflow handling in concurrent phases, namely dirtying of the card on which the overflowed object lies. Since precleaning effectively does a form of discovered list processing, albeit with discovery enabled, we needed to adjust some code to be correct in the face of interleaved processing and discovery.

Reviewed-by: apetrusenko, jcoomes
2008-11-20 12:27:41 -08:00
Igor Veresov
28b2c4aeaf Merge 2008-11-19 14:20:51 -08:00
Vladimir Kozlov
f2c8d25c73 6772413: code cleanup
Removed lines in adm64.make with interpret.o and moved few constant strings from header files.

Reviewed-by: never
2008-11-18 12:31:53 -08:00
Igor Veresov
cbf1c89d60 6770608: G1: Mutator thread can flush barrier and satb queues during safepoint
6660573: G1: BigApps Failure : guarantee(satb_mq_set.completed_buffers_num() == 0,"invariant")

When exiting a mutator thread is removed from the thread list before it has a chance to flush its SATB and barrier queues. If GC happens at this moment the objects that are refererred from these queues can be moved, which will case a crash. The fix is simply to flush the buffers before removing a thread from the list.

Reviewed-by: jcoomes, tonyp
2008-11-14 14:23:05 -08:00
John R Rose
849e0ffb04 6653858: dynamic languages need to be able to load anonymous classes
Low-level privileged sun.misc.Unsafe.defineAnonymousClass

Reviewed-by: kvn
2008-11-12 22:33:26 -08:00
Vladimir Kozlov
7aae40a95f 6462850: generate biased locking code in C2 ideal graph
Inline biased locking code in C2 ideal graph during macro nodes expansion

Reviewed-by: never
2008-11-07 09:29:38 -08:00
Tom Rodriguez
7bcfb5965d 6764622: IdealGraphVisualizer fixes
Reviewed-by: rasbold, jrose
2008-10-30 17:08:48 -07:00
John Coomes
401e04572a 6765804: GC "dead ratios" should be unsigned
Reviewed-by: ysr, tonyp
2008-10-29 06:30:02 -07:00
Tom Rodriguez
8537533873 6649622: HotSpot Biased locking needs tuning on latest CPUs
Reviewed-by: rasbold, kvn, kamg
2008-10-28 18:02:09 -07:00
Tom Rodriguez
bc7e37f4df Merge 2008-10-21 11:21:45 -07:00
Erik Trimble
4b983d3b39 Merge 2008-10-15 18:51:04 -07:00
Vladimir Kozlov
55925534ec 6532536: Optimize arraycopy stubs for Intel cpus
Use SSE2 movdqu in arraycopy stubs on newest Intel's cpus

Reviewed-by: rasbold
2008-10-14 15:10:26 -07:00
Antonios Printezis
04b0ebb9c1 Merge 2008-10-09 12:06:22 -04:00
Erik Trimble
50964694fe Merge 2008-10-07 11:01:35 -07:00
Tom Rodriguez
7633aaa177 Merge 2008-10-06 13:11:32 -07:00
Antonios Printezis
6f5e28aca1 6752248: G1: introduce parallel heap verification
Introduce parallel heap verification in G1.

Reviewed-by: jcoomes, apetrusenko
2008-10-06 13:16:35 -04:00
Xiomara Jayasena
76df5ec473 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:19 -07:00