8862 Commits

Author SHA1 Message Date
John Coomes
bc706440bd 6810474: par compact - crash in summary_phase with very full heap
Reviewed-by: tonyp
2009-03-03 14:23:18 -08:00
Y. Srinivas Ramakrishna
ce3f3161da 6824570: ParNew: Fix memory leak introduced in 6819891
Allocate worker-local overflow stacks, introduced in 6819891, along with ParNewGeneration, rather than with the per-scavenge ParScanThreadState.

Reviewed-by: jmasa
2009-04-02 15:57:41 -07:00
Vladimir Kozlov
4b15cdadd3 Merge 2009-03-03 10:34:22 -08:00
Y. Srinivas Ramakrishna
72bfacbd95 6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
Call newly created CollectedHeap::dump_{pre,post}_full_gc before and after every stop-world full collection cycle on GenCollectedHeap and ParallelScavengeHeap. (Support for G1CollectedHeap forthcoming under CR 6810861.) Small modifications to existing heap dumping and class histogram implementation, especially to allow multiple on-the-fly histos/dumps by the VM thread during a single safepoint.

Reviewed-by: jmasa, alanb, mchung
2009-03-02 16:37:04 -08:00
Daniel D. Daugherty
8c0f3ead78 Merge 2009-03-02 16:56:51 -07:00
Daniel D. Daugherty
8aa430beb0 Merge 2009-03-02 14:43:36 -07:00
Daniel D. Daugherty
8aebf28301 6567360: 3/4 SIGBUS in jvmti RawMonitor magic check for unaligned bad monitor pointer
Change JvmtiEnvBase::is_valid() and JvmtiRawMonitor::is_valid() to fetch the _magic fields via Bytes::get_native_u[248]().

Reviewed-by: coleenp, swamyv
2009-03-02 14:05:07 -07:00
Daniel D. Daugherty
da3f81559f 6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined
Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.

Reviewed-by: acorn, swamyv
2009-03-02 14:03:03 -07:00
Daniel D. Daugherty
56fe18e375 6800721: 3/4 JavaThread::jvmti_thread_state() and JvmtiThreadState::state_for() robustness
Check for NULL return values from jvmti_thread_state() and state_for() and return a JVM TI error code as appropriate.

Reviewed-by: coleenp, swamyv
2009-03-02 14:00:23 -07:00
Daniel D. Daugherty
74a99e1e82 6700114: 3/4 Assertion (_thread->get_interp_only_mode() == 1,"leaving interp only when mode not one")
Don't create JvmtiThreadState for an exiting JavaThread.

Reviewed-by: coleenp, swamyv
2009-03-02 13:57:17 -07:00
Tom Rodriguez
48d4a43c2a 6811384: MacroAssembler::serialize_memory may touch next page on amd64
Reviewed-by: kvn, phh, twisti
2009-03-01 20:49:46 -08:00
Y. Srinivas Ramakrishna
dd4aaeadd4 Merge 2009-02-27 15:30:47 -08:00
Xiomara Jayasena
dd661ad390 Merge 2009-02-27 15:13:00 -08:00
Christian Thalinger
05d1de7727 6810672: Comment typos
I have collected some typos I have found while looking at the code.

Reviewed-by: kvn, never
2009-02-27 13:27:09 -08:00
Vladimir Kozlov
67a5668b16 6811267: Fix for 6809798 broke linux build
Fix method's declaration.

Reviewed-by: phh, twisti
2009-02-27 08:34:19 -08:00
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
Tom Rodriguez
114da9bcfc 6810855: KILL vs. TEMP ordering restrictions are too strong
Reviewed-by: kvn
2009-02-26 16:57:21 -08:00
Vladimir Kozlov
9b31d58b98 6809798: SafePointScalarObject node placed into incorrect block during GCM
Replace the control edge of a pinned node before scheduling.

Reviewed-by: never
2009-02-26 14:26:02 -08:00
Andrei Pangin
31eeaafbcf Merge 2009-02-26 14:25:55 -08:00
Xiomara Jayasena
6f9ccbbe7f Added tag jdk7-b49 for changeset 2fb28c2f14c0 2009-02-26 10:57:13 -08:00
Erik Trimble
954e8082f6 Merge 2009-02-25 23:16:22 -08:00
Erik Trimble
44091d390c Merge 2009-02-25 22:55:54 -08:00
Tom Rodriguez
f7098831dd 6807963: need tool to make sense of LogCompilaton output
Reviewed-by: kvn
2009-02-25 14:36:27 -08:00
Tom Rodriguez
a82243d887 6805427: adlc compiler may generate incorrect machnode emission code
Reviewed-by: kvn, twisti
2009-02-25 10:53:14 -08:00
Jon Masamitsu
6b78cf8b99 Merge 2009-02-24 22:51:00 -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
Antonios Printezis
f883e6fde8 6804746: G1: guarantee(variance() > -1.0,"variance should be >= 0") (due to evacuation failure)
Under certain circumstances (evacuation failure) the pause time is not communicated to the policy and, as a result, the pause time field is not initialized properly.

Reviewed-by: jmasa
2009-02-24 15:50:23 -05:00
Vladimir Kozlov
decdeea77d Merge 2009-02-24 09:53:20 -08:00
Vladimir Kozlov
b07ac51bf3 6791572: assert("duplicating node that's already been matched")
Mark inputs for an address expression as shared if there are other uses besides address expressions.

Reviewed-by: never
2009-02-23 16:03:19 -08:00
Christian Thalinger
0723dab28b 6808589: Merge vm_version_x86_{32,64}.{cpp,hpp}
There is very much duplicated code in vm_version_x86_{32,64}.{cpp,hpp}.  Refactoring these would help maintainability.

Reviewed-by: kvn, never
2009-02-23 12:02:30 -08:00
Andrei Pangin
6acc244444 Merge 2009-02-22 17:21:13 -08:00
Andrei Pangin
85a47f34c6 Merge 2009-02-22 17:11:56 -08:00
Y. Srinivas Ramakrishna
7efb6ac73a Merge 2009-02-20 11:12:26 -08:00
Vladimir Kozlov
dc3008a513 6802499: EA: assert(false,"unknown node on this path")
Add missing checks for SCMemProj node in Escape analysis code.

Reviewed-by: never
2009-02-19 17:38:53 -08:00
Xiomara Jayasena
f5594e9e8d Added tag jdk7-b48 for changeset 1da7c5c8156d 2009-02-19 14:08:00 -08:00
Ivan P Krylov
6aec7d2ea9 6806046: Hotspot build error when compiled from Visual Studio
Define HOTSPOT_LIB_ARCH in the preprocessor flags of the generated projects

Reviewed-by: kamg, xlu
2009-02-19 04:54:22 -05:00
Erik Trimble
473e5b6e54 6807345: Bump HS15 build number to 02
Update the HS15 Build number to 02

Reviewed-by: jcoomes
2009-02-18 18:20:02 -08:00
Erik Trimble
0a2c842e50 Merge 2009-02-18 18:14:18 -08:00
Vladimir Kozlov
73e8e582ba 6807084: AutoBox elimination is broken with compressed oops
Add checks for DecodeN nodes into AutoBox elimination code.

Reviewed-by: never
2009-02-18 13:53:42 -08:00
Jon Masamitsu
f1847266b7 6786346: intermittent Internal Error (src/share/vm/memory/cardTableModRefBS.cpp:226)
Two assertions were incorrectly composed.

Reviewed-by: tonyp
2009-02-17 15:35:58 -08:00
Vladimir Kozlov
681eb89b31 Merge 2009-02-17 14:30:24 -08:00
Christian Thalinger
f72a09355f 6805950: Typos in andL_rReg_imm instructions in x86_64.ad
There are two typos in andL_rReg_imm instructions in x86_64.ad.

Reviewed-by: kvn
2009-02-17 11:19:31 +01: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
Andrei Pangin
b4e9e47b74 Merge 2009-02-15 20:09:02 -08:00
Christian Thalinger
a2ed00b650 6800154: Add comments to long_by_long_mulhi() for better understandability
This patch adds a comment pointing to the Hacker's Delight version of the algorithm plus a verbatim copy of it.  Furthermore it adds inline comments.

Reviewed-by: kvn, jrose
2009-02-13 09:09:35 -08:00
Xiomara Jayasena
0982a57615 Added tag jdk7-b47 for changeset e3f44a955240 2009-02-12 14:00:38 -08:00
Erik Trimble
46194466cf Merge 2009-02-10 20:33:36 -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
John Coomes
b3e23ac700 Merge 2009-02-09 13:47:26 -08:00
Y. Srinivas Ramakrishna
0badccf962 6800586: -XX:+PrintGCDateStamps is using mt-unsafe localtime function
Replaced localtime() with localtime_r() on Solaris and Linux.

Reviewed-by: apetrusenko, dholmes, jmasa
2009-02-09 12:26:05 -08:00