546 Commits

Author SHA1 Message Date
Lillian Angel
d6cdfde9d9 6778669: Patch from Red Hat -- fixes compilation errors
Some fixes which are required to build on recent GCCs.

Reviewed-by: never, kvn
2009-02-27 03:35:40 -08:00
Jon Masamitsu
b051a23591 6806226: Signed integer overflow in growable array code causes JVM crash
Workaround the overflow by doing the intermediate calculations in an unsigned variable.

Reviewed-by: ysr, jcoomes
2009-02-24 22:12:24 -08:00
Vladimir Kozlov
681eb89b31 Merge 2009-02-17 14:30:24 -08:00
Christian Thalinger
dd25f39709 6805724: ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant
C2, ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant.

Reviewed-by: rasbold
2009-02-16 07:19:26 -08:00
Andrey Petrusenko
a7da5440dd 6700941: G1: allocation spec missing for some G1 classes
Reviewed-by: tonyp
2009-02-10 18:39:09 +03:00
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
Christian Thalinger
ecbdf3bb83 6795362: 32bit server compiler leads to wrong results on solaris-x86
The C2 compiler leads to wrong results on solaris-i486 (32-bit) for a testcase given in the CR.

Reviewed-by: never, rasbold
2009-02-03 01:39:12 -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
Coleen Phillimore
76f79d82ad Merge 2009-01-09 14:39:07 -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
Xiaobin Lu
1362b9fd1d 6787106: Hotspot 32 bit build fails on platforms having different definitions for intptr_t & int32_t
Avoid casting between int32_t and intptr_t specifically for MasmAssembler::movptr in 32 bit platforms.

Reviewed-by: jrose, kvn
2008-12-24 13:06:09 -08:00
Coleen Phillimore
d80f5c0265 4997835: RFE: crash dump will only be created when running w/ -XX:+ShowMessageBoxOnError
Using UseOSErrorReporting will provide both an hs_err file and a crash dump or debug launch and works better.

Reviewed-by: xlu, acorn, poonam
2008-12-23 06:16:53 -08:00
Erik Trimble
efd43c045a Merge 2008-12-20 09:57:03 -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
Coleen Phillimore
36f5b8dd54 6689685: Hotspot crash error message should include libraries version
Print out JDK/JRE version that hotspot knows about.

Reviewed-by: kamg, blacklion, acorn, alanb
2008-12-09 09:55:39 -05:00
Y. Srinivas Ramakrishna
7d7cf3f8af 6684579: SoftReference processing can be made more efficient
For current soft-ref clearing policies, we can decide at marking time if a soft-reference will definitely not be cleared, postponing the decision of whether it will definitely be cleared to the final reference processing phase. This can be especially beneficial in the case of concurrent collectors where the marking is usually concurrent but reference processing is usually not.

Reviewed-by: jmasa
2008-11-20 16:56:09 -08:00
John R Rose
4e2c4fb4bd 6770949: minor tweaks before 6655638
Minor cleanups & tuning of array.hpp, debug.cpp, growableArray.hpp, hashtable.cpp

Reviewed-by: kvn
2008-11-12 23:26:45 -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
Erik Trimble
50964694fe Merge 2008-10-07 11:01:35 -07: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
John Coomes
f2851186bb 6725697: par compact - rename class ChunkData to RegionData
Reviewed-by: iveresov, tonyp
2008-09-30 12:20:22 -07:00
Andrey Petrusenko
b6aabd98fc Merge 2008-09-17 16:49:18 +04:00
Jon Masamitsu
6358686351 6743059: Error in spaceDecorator.cpp "optimized" build
Changed the guard on the definition of the method value in HeapWord from ASSERT to not PRODUCT.

Reviewed-by: iveresov, apetrusenko
2008-09-04 14:49:08 -07:00
Tom Rodriguez
26c780da72 5108146: Merge i486 and amd64 cpu directories
6459804: Want client (c1) compiler for x86_64 (amd64) for faster start-up

Reviewed-by: kvn
2008-08-27 00:21:55 -07:00
Antonios Printezis
615777b6da Merge 2008-08-21 23:36:31 -04:00
Jon Masamitsu
b8633a3b01 Merge 2008-07-28 15:30:23 -07:00
Erik Trimble
2d6f42d18c Merge 2008-07-11 01:14:44 -07:00
Jon Masamitsu
18dbebd143 6672698: mangle_unused_area() should not remangle the entire heap at each collection
Maintain a high water mark for the allocations in a space and mangle only up to that high water mark.

Reviewed-by: ysr, apetrusenko
2008-07-09 15:08:55 -07:00
Xiomara Jayasena
c96a95c4b8 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Coleen Phillimore
2a68d0757b Merge 2008-07-02 15:38:47 -04:00
Y. Srinivas Ramakrishna
74ee57a572 Merge 2008-07-01 11:59:44 -07:00
Tom Rodriguez
873da1efe8 6718676: putback for 6604014 is incomplete
Reviewed-by: kvn, jrose
2008-06-24 16:00:14 -07:00
Poonam Bajaj
1f819855d5 6694099: Hotspot vm_exit_out_of_memory should dump core
This fix enables the generation of core file when process runs out of C-heap.

Reviewed-by: sbohne
2008-06-22 20:07:58 -07:00
Y. Srinivas Ramakrishna
18f3386a98 6711316: Open source the Garbage-First garbage collector
First mercurial integration of the code for the Garbage-First garbage collector.

Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00
Chuck Rasbold
72313bcf20 6603011: RFE: Optimize long division
Transform long division by constant into multiply

Reviewed-by: never, kvn
2008-05-07 08:06:46 -07:00
Coleen Phillimore
4a831d45f0 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv

Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
2008-04-13 17:43:42 -04:00
Chuck Rasbold
1659f11da6 Merge 2008-04-03 06:41:16 -07:00
John R Rose
0d27a8639f 6667042: PrintAssembly option does not work without special plugin
Remove old private plugin interface, simplify, rework old plugin to use unchanged Gnu sources

Reviewed-by: kvn, rasbold
2008-04-02 12:09:59 -07:00
John Coomes
b63d2cdd27 6679422: networkStream::connect() in ostream.cpp is not 64-bit clean
Reviewed-by: jmasa, xlu
2008-03-28 23:35:42 -07:00
Keith McGuigan
c2c3f0fe72 Merge 2008-03-20 09:17:30 -05:00
Daniel D. Daugherty
0745d10694 Merge 2008-03-13 14:17:48 -07:00
Daniel D. Daugherty
2927815658 6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
(for Serguei) Allow for Linux builds with Sun Studio Linux compilers

Reviewed-by: sspitsyn, ohair
2008-03-12 18:37:03 -07:00
Coleen Phillimore
f235d989d0 6549844: Wording problems in "An unexpected error ..."
Changed wording to "A fatal error.." also don't claim it's not VM bug if in hotspot compilers (Java thread in native).

Reviewed-by: jjh, sbohne, jrose, never
2008-02-27 13:55:58 -05:00
Vladimir Kozlov
9f1a8ede80 6633953: type2aelembytes{T_ADDRESS} should be 8 bytes in 64 bit VM
T_ADDRESS size is defined as 'int' size (4 bytes) but C2 use it for raw pointers and as memory type for StoreP and LoadP nodes.

Reviewed-by: jrose
2008-02-25 15:05:44 -08:00
J. Duke
8153779ad3 Initial load 2007-12-01 00:00:00 +00:00