Commit Graph

1655 Commits

Author SHA1 Message Date
John Coomes
7fe1c05c7c 6966222: G1: simplify TaskQueue overflow handling
Reviewed-by: tonyp, ysr
2010-08-09 05:41:05 -07:00
Christine Lu
b8117e7869 Added tag jdk7-b104 for changeset 83e5347f5988 2010-08-06 12:51:54 -07:00
Vladimir Kozlov
7895bef72f 6975049: nsk/regression/b4287029 crashes with -Xss64 on solaris-i586
Tell C++ to not inline so much by using flag -xspace.

Reviewed-by: ysr
2010-08-06 11:53:28 -07:00
John Cuthbertson
f8eed77f36 6930581: G1: assert(ParallelGCThreads > 1 || n_yielded() == _hrrs->occupied(),"Should have yielded all the .
During RSet updating, when ParallelGCThreads is zero, references that point into the collection set are added directly the referenced region's RSet. This can cause the sparse table in the RSet to expand. RSet scanning and the "occupied" routine will then operate on different instances of the sparse table causing the assert to trip. This may also cause some cards added post expansion to be missed during RSet scanning. When ParallelGCThreads is non-zero such references are recorded on the "references to be scanned" queue and the card containing the reference is recorded in a dirty card queue for use in the event of an evacuation failure. Employ the parallel code in the serial case to avoid expanding the RSets of regions in the collection set.

Reviewed-by: iveresov, ysr, tonyp
2010-08-06 10:17:21 -07:00
Erik Trimble
72990b87b1 Added tag hs19-b04 for changeset 9dfa2b7f8640 2010-08-05 02:48:45 -07:00
Vladimir Kozlov
4728aa064a 6974682: CTW: assert(target != NULL) failed: must not be null
Add address table size to constant section size.

Reviewed-by: never
2010-08-04 17:42:20 -07:00
Antonios Printezis
b4148f3379 6963209: G1: remove the concept of abandoned pauses
As part of 6944166 we disabled the concept of abandoned pauses (i.e., if the collection set is empty, we would still try to do a pause even if it is to update the RSets and scan the roots). This changeset removes the code and structures associated with abandoned pauses.

Reviewed-by: iveresov, johnc
2010-08-04 13:03:23 -04:00
Erik Trimble
169880d486 Merge 2010-08-03 19:01:25 -07:00
Vladimir Kozlov
5bed80aab9 6973963: SEGV in ciBlock::start_bci() with EA
Added more checks into ResourceObj and growableArray to verify correctness of allocation type.

Reviewed-by: never, coleenp, dholmes
2010-08-03 15:55:03 -07:00
Bob Vandette
b95c7e9523 6953477: Increase portability and flexibility of building Hotspot
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.

Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00
Vladimir Kozlov
f0b6dc4e4f 6973308: Missing zero length check before repne scas in check_klass_subtype_slow_path()
Set Z = 0 (not equal) before repne_scan() to indicate that class was not found when RCX == 0.

Reviewed-by: never, phh
2010-07-30 10:21:15 -07:00
Erik Trimble
4ce3f156ec 6973381: Bump the HS19 build number to 05
Update the HS19 build number to 05

Reviewed-by: jcoomes
2010-07-30 06:56:40 -07:00
Erik Trimble
a4b5c38070 Merge 2010-07-29 23:14:56 -07:00
Christine Lu
5bc757e86c Added tag jdk7-b103 for changeset 0dc48f97ffd1 2010-07-29 13:33:08 -07:00
Coleen Phillimore
c45761e2a8 6958465: Sparc aten build24.0: openjdk-7.ea-b96 failed Error: Formal argument ... requires an lvalue
Fix compilation errors.  Made non-const references const so can be assigned with lvalue.

Reviewed-by: phh, xlu
2010-07-28 17:57:43 -04:00
Andrew Haley
d44a3683b1 6888526: Linux getCurrentThreadCpuTime is drastically slower than Windows
Reviewed-by: dcubed, dholmes
2010-07-28 17:38:21 +01:00
Tom Rodriguez
b071e2accc Merge 2010-07-26 15:58:07 -07:00
Andrei Pangin
53ac035768 Merge 2010-07-25 07:31:50 -07:00
Michael Wilkerson
f907666b7c Added tag jdk7-b102 for changeset e2378fd93633 2010-07-23 16:42:15 -07:00
Y. Srinivas Ramakrishna
27c8e4b84a Merge 2010-07-23 14:31:15 -07:00
Tom Rodriguez
0ed8a9f6fc Merge 2010-07-23 10:21:17 -07:00
Vladimir Kozlov
3fbdd52bdf 6969569: assert(is_static() && is_constant()) failed: illegal call to constant_value()
Add missing is_static guard.

Reviewed-by: twisti
2010-07-23 10:07:46 -07:00
Tom Rodriguez
762e078636 6970566: runThese fails with SIGSEGV
Reviewed-by: kvn
2010-07-22 15:29:22 -07:00
Antonios Printezis
38ab95c64b 6962589: remove breadth first scanning code from parallel gc
Remove the breadth-first copying order from ParallelScavenge and use depth-first by default.

Reviewed-by: jcoomes, ysr, johnc
2010-07-22 10:27:41 -04:00
John Cuthbertson
3a2b2b4fd8 6814437: G1: remove the _new_refs array
The per-worker _new_refs array is used to hold references that point into the collection set. It is populated during RSet updating and subsequently processed. In the event of an evacuation failure it processed again to recreate the RSets of regions in the collection set. Remove the per-worker _new_refs array by processing the references directly. Use a DirtyCardQueue to hold the cards containing the references so that the RSets of regions in the collection set can be recreated when handling an evacuation failure.

Reviewed-by: iveresov, jmasa, tonyp
2010-08-02 12:51:43 -07:00
Kevin Walls
75c23332be Merge 2010-07-31 15:10:59 +01:00
Kevin Walls
5fb46fd5a8 6581734: CMS Old Gen's collection usage is zero after GC which is incorrect
Management code enabled for use by a concurrent collector.

Reviewed-by: mchung, ysr
2010-07-30 22:43:50 +01:00
Y. Srinivas Ramakrishna
f495cb2581 Merge 2010-07-21 12:45:42 -07:00
Y. Srinivas Ramakrishna
eceef28d8c Merge 2010-07-21 09:57:21 -07:00
Erik Trimble
54f18dfa74 Merge 2010-07-20 18:13:55 -07:00
Y. Srinivas Ramakrishna
625332a903 Merge 2010-07-20 16:09:44 -07:00
Andrei Pangin
3888d500b9 6964170: Verifier crashes
Check if klassOop != NULL rather than klass_part != NULL

Reviewed-by: kamg, never
2010-07-20 08:41:42 -07:00
John Cuthbertson
5c3da1ee7e 6956639: G1: assert(cached_ptr != card_ptr) failed: shouldn't be, concurrentG1Refine.cpp:307
During concurrent refinment, filter cards in young regions after it has been determined that the region has been allocated from and the young type of the region has been set.

Reviewed-by: iveresov, tonyp, jcoomes
2010-07-19 11:06:34 -07:00
Andrei Pangin
8ce591cea8 Merge 2010-07-17 21:49:23 -07:00
John Coomes
daf491a814 6962947: shared TaskQueue statistics
Reviewed-by: tonyp, ysr
2010-07-16 21:33:21 -07:00
John R Rose
7e34622217 6969574: invokedynamic call sites deoptimize instead of executing
Reviewed-by: kvn
2010-07-16 18:14:19 -07:00
Y. Srinivas Ramakrishna
4efdcb87d1 Merge 2010-07-16 10:09:15 -07:00
Tom Rodriguez
734af9cd47 Merge 2010-07-16 08:29:42 -07:00
Alan Bateman
640336ebe6 6649594: Intermittent IOExceptions during dynamic attach on linux and solaris
Reviewed-by: dcubed, dholmes
2010-07-16 13:14:03 +01:00
Michael Wilkerson
431a99ccf9 Added tag jdk7-b101 for changeset c8f322bd177e 2010-07-15 20:11:35 -07:00
Erik Trimble
89ddf727ca Merge 2010-07-15 19:52:58 -07:00
Erik Trimble
374e15fb40 Merge 2010-07-15 19:51:34 -07:00
John R Rose
a4e4149340 6964498: JSR 292 invokedynamic sites need local bootstrap methods
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs.

Reviewed-by: twisti
2010-07-15 18:40:45 -07:00
Tom Rodriguez
ffb15fdb04 Merge 2010-07-15 13:48:01 -07:00
Tom Rodriguez
ea25541820 6968336: VM crash guarantee(!nm->is_zombie()) failed: cannot lock a zombie method
Reviewed-by: twisti
2010-07-15 08:54:48 -07:00
Andrei Pangin
6572ca3124 Merge 2010-07-14 17:52:18 -04:00
Vladimir Kozlov
2b339c9319 6968368: SIGSEGV in the BCEscapeAnalyzer::copy_dependencies
Use GrowableArray and VectorSet allocated in ciEnv arena.

Reviewed-by: never, twisti
2010-07-14 14:47:34 -07:00
Vladimir Kozlov
7378cf14d9 6968646: JVM crashes with SIGFPE during startup
Check that cpuid returns valid values for processor topology (not zeros).

Reviewed-by: never, twisti
2010-07-14 14:29:14 -07:00
Tom Rodriguez
1eabc28737 6968385: malformed xml in sweeper logging
Reviewed-by: kvn
2010-07-12 22:27:18 -07:00
Y. Srinivas Ramakrishna
c0b1b0d0e7 Merge 2010-07-12 12:53:52 -07:00
Tom Rodriguez
d3c3800a29 6958668: repeated uncommon trapping for new of klass which is being initialized
Reviewed-by: kvn, jrose
2010-07-12 10:58:25 -07:00
Michael Wilkerson
d65cdc272a Added tag jdk7-b100 for changeset 4670a882996f 2010-07-09 19:18:22 -07:00
Erik Trimble
5cd8be04d6 Merge 2010-07-09 00:35:35 -07:00
Erik Trimble
dcb3877665 Merge 2010-07-09 00:32:48 -07:00
Erik Trimble
cbe3e79eb9 Added tag hs19-b03 for changeset 4670a882996f 2010-07-09 00:31:01 -07:00
Tom Rodriguez
7533d0caf7 6965184: possible races in make_not_entrant_or_zombie
Reviewed-by: kvn
2010-07-08 14:29:44 -07:00
Mandy Chung
a20650acd0 6967423: Hotspot support for modules image
Add hotspot support for modules image

Reviewed-by: acorn
2010-07-07 15:35:58 -07:00
Tom Rodriguez
ae3ddc1514 Merge 2010-07-07 12:40:01 -07:00
Karen Kinnear
7c19b04e6d Merge 2010-07-07 14:12:08 -04:00
Vladimir Kozlov
cc513a8564 6966411: escape.cpp:450 assert(base->Opcode() == Op_ConP
Execute IGVN optimization before and after Escape Analysis

Reviewed-by: never
2010-07-02 17:30:30 -07:00
Tom Rodriguez
bf1ca00b7c 6965671: fatal error: acquiring lock JNIGlobalHandle_lock/16 out of order with lock CodeCache_lock/1
Reviewed-by: kvn, dcubed
2010-07-02 15:01:47 -07:00
Karen Kinnear
13ac5e3af2 6964164: MonitorInUseLists leak of contended objects
Fix MonitorInUseLists memory leak and MonitorBound now works

Reviewed-by: chrisphi, dice
2010-07-02 17:23:43 -04:00
Erik Trimble
b4884449a6 6966252: Bump the HS19 build number to 04
Update the HS19 build number to 04

Reviewed-by: jcoomes
2010-07-02 01:37:36 -07:00
Erik Trimble
2d9848a160 Merge 2010-07-02 01:36:15 -07:00
John Coomes
e8dbd32204 6957084: simplify TaskQueue overflow handling
Reviewed-by: ysr, jmasa
2010-07-01 21:40:45 -07:00
Michael Wilkerson
21eac83406 Merge 2010-06-30 18:57:35 -07:00
Coleen Phillimore
091b24c59d Merge 2010-06-30 11:52:10 -04:00
Phil Race
a58629198d 6964882: 32 bit JDK does not build on 64 bit Windows platforms
Reviewed-by: ohair, valeriep
2010-06-29 16:33:41 -07:00
John R Rose
7b529c7ee7 Merge 2010-06-29 16:09:57 -07:00
Vladimir Kozlov
4bd0381466 6964774: Adjust optimization flags setting
Adjust performance flags settings.

Reviewed-by: never, phh
2010-06-29 10:34:00 -07:00
Vladimir Kozlov
448b83e288 6677629: PhaseIterGVN::subsume_node() should call hash_delete() and add_users_to_worklist()
Use replace_node() method instead of subsume_node().

Reviewed-by: jrose, never
2010-06-28 14:54:39 -07:00
Antonios Printezis
dfc84e8c89 6944166: G1: explicit GCs are not always handled correctly
G1 was not handling explicit GCs correctly in many ways. It does now. See the CR for the list of improvements contained in this changeset.

Reviewed-by: iveresov, ysr, johnc
2010-06-28 14:13:17 -04:00
Antonios Printezis
968deb7658 6962569: assembler_sparc.cpp:1969: assert(false) failed: error
Array_overlap_test() fails when the address range crosses the MSB boundary. Thanks to Tom and Vladimir for their help on this one.

Reviewed-by: kvn, never, iveresov
2010-06-28 14:13:18 -04:00
Vladimir Kozlov
8a416b2365 6964479: widen normalization of small int and long values should be symmetric
Normalize widen value in xmeet() and xdual() methods for types Int and Long so the type meet will be symmetric.

Reviewed-by: jrose
2010-06-28 10:52:50 -07:00
Coleen Phillimore
52adb9a491 Merge 2010-06-28 12:03:05 -04:00
John R Rose
3c5e7ab5f1 Merge 2010-06-26 00:19:55 -07:00
Michael Wilkerson
d6e7567e90 Added tag jdk7-b99 for changeset f45234b29a80 2010-06-24 20:03:00 -07:00
Jon Masamitsu
36e0024524 Merge 2010-06-24 15:56:12 -07:00
John Coomes
a792499b68 6888573: class data sharing does not always disable large pages
Reviewed-by: phh
2010-06-24 15:38:42 -07:00
Jon Masamitsu
80d9f0356a Merge 2010-06-23 15:17:20 -07:00
Vladimir Kozlov
381c57e0d4 6947341: JVM Crash running Oracle ATG CRMDemo
Missing protected page below heap with compressed oops on Linux with large pages use.

Reviewed-by: never, phh, jcoomes
2010-06-23 09:40:11 -07:00
Jon Masamitsu
c443776640 6952853: SIGSEGV with UseAdaptiveGCBoundary on 64b linux running jvm2008
Shrinking of a generation and the corresponding card table was causing part of the card table to be uncommitted.

Reviewed-by: jcoomes
2010-06-23 08:35:31 -07:00
Igor Veresov
7a40a76a81 6962980: C1: stub area should take into account method handle deopt stub
Reviewed-by: twisti, never
2010-06-22 12:10:07 -07:00
Zhengyu Gu
a59a9f6a2b Merge 2010-06-22 10:03:12 -04:00
Zhengyu Gu
360fcdc7bd 6939019: Source code adjustments for parfait compilation of hotspot
Minor source code adjustments for parfait compilation, since it uses different compiler vs. JDK

Reviewed-by: never, kamg
2010-06-22 09:46:15 -04:00
Tom Rodriguez
fdaa7a673c 6656830: assert((*p)->is_oop(),"expected an oop while scanning weak refs")
Reviewed-by: dcubed, kvn, twisti
2010-06-21 14:26:17 -07:00
Tom Rodriguez
338714d4e6 6956958: assert(is_clean() || is_call_to_compiled() || is_call_to_interpreted() || is_optimized() || is_megam
Reviewed-by: kvn
2010-06-18 16:51:54 -07:00
Erik Trimble
70eb231ee9 Merge 2010-06-18 00:09:22 -07:00
Erik Trimble
e1ffbcca68 Merge 2010-06-17 23:59:24 -07:00
Michael Wilkerson
e8b11fe509 Added tag jdk7-b98 for changeset cddc74d84e01 2010-06-17 16:27:59 -07:00
Michael Wilkerson
f73401eb46 Merge 2010-06-16 15:48:57 -07:00
Phil Race
f3aeed71d6 6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
Reviewed-by: ohair, jcoomes
2010-06-16 09:42:20 -07:00
Vladimir Kozlov
21f481e5dd 6959430: Make sure raw loads have control edge
Check that raw loads have control edge

Reviewed-by: never, twisti
2010-06-15 18:07:27 -07:00
John R Rose
998865b735 Merge 2010-06-15 15:57:36 -07:00
Tom Rodriguez
32036d6953 Merge 2010-06-15 12:06:52 -07:00
Tom Rodriguez
f6c6028287 6952176: Remove debug flag from adlc makefile for 6Update trains
Reviewed-by: kvn, twisti
2010-06-15 12:03:15 -07:00
Gary Benson
729c6246fb 6960550: Missing semicolon in Zero
There is a missing semicolon in cppInterpreter_zero.cpp.

Reviewed-by: twisti
2010-06-14 00:52:15 -07:00
John R Rose
c8359c3738 6960865: ldc of unloaded class throws an assert in ciTypeFlow
Support java_mirror for unloaded klasses, arrays as well as instances.  Simplify ciTypeFlow by removing unused path.

Reviewed-by: kvn
2010-06-12 22:53:43 -07:00
Michael Wilkerson
7a9d90b336 Added tag jdk7-b97 for changeset 3a1d6e247019 2010-06-10 13:58:59 -07:00
Vladimir Kozlov
9c7b430e11 6730276: JDI_REGRESSION tests fail with "Error: count must be non-zero" error on x86
Modify assembler code to check for 0 count for all copy routines.

Reviewed-by: never, ysr, jcoomes
2010-06-10 13:04:20 -07:00