467 Commits

Author SHA1 Message Date
Coleen Phillimore
a1442ea7ff 6791168: Fix invalid code in bytecodeInterpreter that can cause gcc ICE
Fix compilation errors from latest gcc in CC_INTERP including offending missing void* cast.

Reviewed-by: xlu
2009-01-13 14:41:44 -05:00
Coleen Phillimore
76f79d82ad Merge 2009-01-09 14:39:07 -05:00
Vladimir Kozlov
1ff1bdc3e6 6790182: matcher.cpp:1375: assert(false,"bad AD file")
Add a match rule for regD_low in regD definition.

Reviewed-by: never
2009-01-07 11:23:28 -08: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
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
f58e193de0 6474243: suspicious jvmti code that uses oop unsafely across GC point
Oop stored in unsafely in Lscratch noticed by visual inspection will not be updated by GC.

Reviewed-by: kamg, never, kvn
2008-11-24 14:45:47 -05:00
Vladimir Kozlov
2f7409dee4 Merge 2008-11-19 09:09:31 -08:00
Keith McGuigan
8db365aa80 Merge 2008-11-12 11:23:13 -05:00
Tim Bell
12fd79632c 6764892: VS2008 changes required to compile hotspot sources
Minor changes required to build using the Visual Studio 2008 compiler

Reviewed-by: kvn, ohair
2008-11-11 22:01:08 -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
Coleen Phillimore
0cecb67ae7 6760773: UseCompressedOops is broken with UseParNewGC
Sparc code for gen_subtype_check was doing an ld for a compressed oop with the sign bit set so not comparing, leading to a ClassCastException.

Reviewed-by: phh, never, acorn, kvn, xlu
2008-11-07 11:03:32 -05:00
Tom Rodriguez
429a95440a 6754519: don't emit flag fixup for NaN when condition being tested doesn't need it
Reviewed-by: kvn, rasbold
2008-10-28 09:31:30 -07:00
Tom Rodriguez
bc7e37f4df Merge 2008-10-21 11:21:45 -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
Chuck Rasbold
e585263735 6752257: Use NOT instead of XOR -1 on x86
Add match rule for xor -1

Reviewed-by: never, kvn
2008-10-10 09:47:56 -07: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
Andrey Petrusenko
1d67e1d25c Merge 2008-09-17 19:59:35 +04:00
Andrey Petrusenko
b6aabd98fc Merge 2008-09-17 16:49:18 +04:00
Tom Rodriguez
ae1dc3db15 6746320: Hotspot regression test for 6512111 fails in -Xmixed mode
Reviewed-by: kvn
2008-09-09 12:56:51 -07:00
Tom Rodriguez
29440e8636 6744422: incorrect handling of -1 in set_jump_destination
Reviewed-by: rasbold
2008-09-03 14:57:00 -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
Tom Rodriguez
97c80b8c84 6717457: Internal Error (src/share/vm/code/relocInfo.hpp:1089)
Reviewed-by: kvn
2008-07-25 09:07:29 -07:00
Erik Trimble
2d6f42d18c Merge 2008-07-11 01:14:44 -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
Y. Srinivas Ramakrishna
74ee57a572 Merge 2008-07-01 11:59:44 -07:00
Vladimir Kozlov
a671e7c7b5 6710487: More than half of JDI Regression tests hang with COOPs in -Xcomp mode
Remove DecodeNNode::decode() and EncodePNode::encode() methods.

Reviewed-by: rasbold, never
2008-06-24 10:43:29 -07:00
Shrinivas Joshi
5106cf17a3 6708714: Optimize long LShift on 32-bits x86
For small (1-3 bits) left long shifts in 32-bits VM use sets of add+addc instructions instead of shld+shl on new AMD cpus.

Reviewed-by: never
2008-06-23 14:11:12 -07:00
Y. Srinivas Ramakrishna
ac061d0424 Merge 2008-06-12 13:50:55 -07:00
Tom Rodriguez
2144ccf2f1 Merge 2008-06-06 14:34:24 -07:00
Keith McGuigan
d58beaefde Merge 2008-06-06 13:43:36 -04: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
Coleen Phillimore
1562d78080 6695819: verify_oopx rax: broken oop in decode_heap_oop
Code in gen_subtype_check was encoding rax as an oop on a path where rax was not an oop.

Reviewed-by: never, kvn
2008-06-05 17:02:54 -04:00
Vladimir Kozlov
dbdeade3b7 6709093: Compressed Oops: reduce size of compiled methods
Exclude UEP size from nmethod code size and use narrow klass oop to load prototype header.

Reviewed-by: jrose, never
2008-06-05 13:02:51 -07:00
Tom Rodriguez
54eeffff83 6709165: Tests hang or misbahve with HS 13.0-b01 on solaris-sparcv9
Reviewed-by: kvn, jrose
2008-06-04 21:56:27 -07:00
Chuck Rasbold
2e672ac9bf 6695049: (coll) Create an x86 intrinsic for Arrays.equals
Intrinsify java/util/Arrays.equals(char[], char[])

Reviewed-by: kvn, never
2008-05-29 16:22:09 -07:00
Vladimir Kozlov
a1f50998ae 6705887: Compressed Oops: generate x64 addressing and implicit null checks with narrow oops
Generate addresses and implicit null checks with narrow oops to avoid decoding.

Reviewed-by: jrose, never
2008-05-29 12:04:14 -07:00
Coleen Phillimore
646ceb4a45 6696264: assert("narrow oop can never be zero") for GCBasher & ParNewGC
Decouple set_klass() with zeroing the gap when compressed.

Reviewed-by: kvn, ysr, jrose
2008-05-28 21:06:24 -07:00
Keith McGuigan
c966634470 6705523: Fix for 6695506 will violate spec when used in JDK6
Make max classfile version number dependent on JDK version

Reviewed-by: acorn, never
2008-05-22 13:03:52 -04:00
Vladimir Kozlov
e53e767d88 6703888: Compressed Oops: use the 32-bits gap after klass in a object
Use the gap also for a narrow oop field and a boxing object value.

Reviewed-by: coleenp, never
2008-05-21 16:31:35 -07:00
Vladimir Kozlov
76035424de 6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
Add LoadNKlass and CMoveN nodes, use CmpN and ConN nodes to generate narrow oops compare instructions.

Reviewed-by: never, rasbold
2008-05-21 13:46:23 -07:00
Vladimir Kozlov
757229db71 6695810: null oop passed to encode_heap_oop_not_null
Fix several problems in C2 related to Escape Analysis and Compressed Oops.

Reviewed-by: never, jrose
2008-05-21 10:45:07 -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
Chuck Rasbold
cf2288b223 Merge 2008-04-28 08:08:12 -07:00
Vladimir Kozlov
69155d87f9 6689060: Escape Analysis does not work with Compressed Oops
64-bits VM crashes with -XX:+AggresiveOpts (Escape Analysis + Compressed Oops)

Reviewed-by: never, sgoldman
2008-04-23 11:20:36 -07:00
Keith McGuigan
15a1776a30 Merge 2008-04-18 07:51:43 -04:00
Keith McGuigan
f072bc9d3f 6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code

Reviewed-by: acorn, sbohne
2008-04-17 22:18:15 -04:00
Volker Simonis
8ece15fd05 6688137: c++ interpreter fails on 64bit sparc
Misc. 64bit and endian fixes for sparc

Reviewed-by: never, kvn, rasbold
2008-04-17 07:16:03 -07:00