278 Commits

Author SHA1 Message Date
John Coomes
93584b3060 6676016: ParallelOldGC leaks memory
Ensure that GCTask threads release resource and handle memory

Reviewed-by: jmasa, chrisphi
2008-06-18 18:36:47 -07:00
Kumar Srinivasan
69eb2b72c6 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
Adds JVM_FindClassFromBootLoader entry point, for jdk's use

Reviewed-by: dholmes, acorn
2008-06-17 13:08:15 -07:00
Tom Rodriguez
31d647daea Merge 2008-06-17 11:32:42 -07:00
Xiaobin Lu
cb8502a58c 6681796: hotspot build failure on gcc 4.2.x (ubuntu 8.04) w/ openjdk 6
Fixed the cast from char* to const char* and tried to use const char* as much as possible

Reviewed-by: never, kamg
2008-06-17 09:59:59 -07:00
Y. Srinivas Ramakrishna
c201c739e4 Merge 2008-06-17 08:40:48 -07:00
Vladimir Kozlov
6978df8f5d 6714406: Node::dominates() does not always check for TOP
Add missed checks for TOP and missed checks for non-dominating cases

Reviewed-by: rasbold, jrose, never
2008-06-13 15:08:56 -07:00
Vladimir Kozlov
afbdf29629 6714404: Add UseStringCache switch to enable String caching under AggressiveOpts
Poke String.stringCacheEnabled during vm initialization

Reviewed-by: never
2008-06-13 14:49:07 -07:00
Tom Rodriguez
9a3b5642cf 6697238: missing dependencies for precompiled headers with platform dependent includes
Reviewed-by: kvn
2008-06-12 16:13:01 -07:00
Jon Masamitsu
d5ded29055 Merge 2008-06-12 14:23:34 -07:00
Y. Srinivas Ramakrishna
07ef2f8f38 Merge 2008-06-12 14:02:35 -07:00
Y. Srinivas Ramakrishna
ac061d0424 Merge 2008-06-12 13:50:55 -07:00
Tom Rodriguez
b381148ebe 6697236: missing Identity for "(X+Y) - X" into Y
Reviewed-by: kvn
2008-06-12 09:47:55 -07:00
Igor Veresov
a82afd549a 6710665: G1: guarantee(_cm->out_of_regions() && _cm->region_stack_empty() && _task_queue->size() == 0, ...)
Remove the incorrect assumptions from guarantee()s.

Reviewed-by: ysr, tonyp
2008-06-11 05:12:19 -07:00
John Coomes
762f7c8f2b Merge 2008-06-10 11:14:27 -07:00
Tom Rodriguez
01130cd21c Merge 2008-06-10 09:57:24 -07:00
Jon Masamitsu
0568ea9ed4 6688799: Second fix for Guarantee failure "Unexpected dirty card found"
Expand cardtable without committing over existing regions.

Reviewed-by: apetrusenko
2008-06-10 07:26:42 -07:00
Coleen Phillimore
a2d6036a4d 6687581: Make CMS work with compressed oops
Make FreeChunk read markword instead of LSB in _klass pointer to indicate that it's a FreeChunk for compressed oops.

Reviewed-by: ysr, jmasa
2008-06-09 11:51:19 -04:00
Igor Veresov
ed4e9a5d5c 6711930: NUMA allocator: ParOld can create a hole less than minimal object size in the lgrp chunk
The fix takes care of three issues that can create a hole less a minimal object in the lgrp chunk

Reviewed-by: ysr, apetrusenko
2008-06-09 07:18:59 -07:00
Tom Rodriguez
2144ccf2f1 Merge 2008-06-06 14:34:24 -07:00
Chuck Rasbold
4cce21039e 6711701: disable compressed oops by default
Comment out code that turns on compressed oops

Reviewed-by: never, phh
2008-06-06 11:47:26 -07:00
Keith McGuigan
d58beaefde Merge 2008-06-06 13:43:36 -04:00
Tom Rodriguez
4760698435 6614100: EXCEPTION_ACCESS_VIOLATION while running Eclipse with 1.6.0_05-ea
Reviewed-by: kvn, jrose, rasbold
2008-06-05 21:44:53 -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
Tom Rodriguez
952b45f6b6 6711083: 64bit JVM crashes with Internal Error (type.cpp:763) - ShouldNotReachHere() with enabled COOPs
Add NarrowOop to various xmeet routines

Reviewed-by: kvn, sgoldman, jrose, rasbold
2008-06-05 15:43:18 -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
Jon Masamitsu
39463bb3fc 6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong
The assertion can failure due to race conditions.

Reviewed-by: never
2008-06-04 13:51:09 -07:00
Chuck Rasbold
1f0f6c2277 Merge 2008-06-03 15:38:31 -07:00
Chuck Rasbold
d10912d513 6709972: runThese failed with assert(false,"bad AD file")
Guard AryEqNode construction with has_match_rule() test, set SpecialArraysEquals default off

Reviewed-by: kvn, never
2008-06-03 13:14:44 -07:00
Chuck Rasbold
8f5e42a671 Merge 2008-05-30 07:22:22 -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
Keith McGuigan
319d956145 6706604: Copyright headers need to be changed to GPL
Update the copyrights

Reviewed-by: ohair
2008-05-29 14:06:30 -04: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
Andrew Hughes
1f9e095ee3 6707485: bytecodeInterpreterWithChecks.xsl is malformed
Xsl output tag not at top level

Reviewed-by: never, kvn, rasbold
2008-05-28 12:42:34 -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
Daniel D. Daugherty
7c478e3028 Merge 2008-05-20 09:47:05 -07:00
Chuck Rasbold
dbf60cec88 Merge 2008-05-20 06:32:58 -07:00
Daniel D. Daugherty
e03f944292 Merge 2008-05-16 13:42:07 -07:00
Vladimir Kozlov
60c74ba115 6701887: JDK7 server VM in endless loop in Node::dominates
The method Node::dominates loops in the dead code which does not have a Region node.

Reviewed-by: jrose, never
2008-05-15 22:43:11 -07:00
Vladimir Kozlov
9bcba384cb 6700102: c2 assertion "counter_changed,"failed dependencies, but counter didn't change")" with AggressiveOpts
Bytecode Escape Analyzer does not have the check for the case described in 6389127.

Reviewed-by: never
2008-05-15 22:40:43 -07:00
Chuck Rasbold
3d93819395 Merge 2008-05-14 15:01:08 -07:00
John R Rose
3a4ea9a986 6701024: SAJDI functionality is broken
Back out sa-related changes to 6652736, use concrete expressions for WKK names in the SA

Reviewed-by: never, sundar
2008-05-14 00:41:06 -07:00
Daniel D. Daugherty
a55c15f436 Merge 2008-05-09 09:11:34 -07:00
Daniel D. Daugherty
a2a49ae8de 6670684: 4/5 SA command universe did not print out CMS space information
Forward port of Yumin's fix for 6670684 from HSX-11; Yumin verified the port was correct.

Reviewed-by: dcubed
2008-05-09 08:55:13 -07:00
Igor Veresov
1689a5ecba 6697534: Premature GC and invalid lgrp selection with NUMA-aware allocator
Don't move tops of the chunks in ensure_parsibility(). Handle the situation with Solaris when a machine has a locality group with no memory.

Reviewed-by: apetrusenko, jcoomes, ysr
2008-05-09 16:34:08 +04:00