Commit Graph

1839 Commits

Author SHA1 Message Date
Tom Rodriguez
a54b1ff70e 6978249: spill between cpu and fpu registers when those moves are fast
Reviewed-by: kvn
2010-08-19 14:51:47 -07:00
Y. Srinivas Ramakrishna
500e68f0b1 6978533: CMS: Elide BOT update asserts until 6977974 is fixed correctly
Reviewed-by: jcoomes, jmasa, tonyp
2010-08-19 12:02:10 -07:00
Pavel Tisnovsky
b002fe5992 6885308: The incorrect -XX:StackRedPages, -XX:StackShadowPages, -XX:StackYellowPages could cause VM crash
Test minimal stack sizes given (also fixed linux compilation error)

Reviewed-by: never, phh, coleenp
2010-08-19 14:23:59 -04:00
Antonios Printezis
e886514c96 Merge 2010-08-19 14:08:58 -04:00
John Cuthbertson
846cfeee6e Merge 2010-08-18 17:44:33 -04:00
Y. Srinivas Ramakrishna
fc61f2721e 6977970: CMS: concurrentMarkSweepGeneration.cpp:7947 assert(addr <= _limit) failed: sweep invariant
Allow for the possibility (when the heap is expanding) that the sweep might skip over and past, rather than necessarily step on, the sweep limit determined at the beginning of a concurrent marking cycle.

Reviewed-by: jmasa, tonyp
2010-08-18 11:39:21 -07:00
John Cuthbertson
3b69a96c58 6977924: Changes for 6975078 produce build error with certain gcc versions
The changes introduced for 6975078 assign badHeapOopVal to the _allocation field in the ResourceObj class. In 32 bit linux builds with certain versions of gcc this assignment will be flagged as an error while compiling allocation.cpp. In 32 bit builds the constant value badHeapOopVal (which is cast to an intptr_t) is negative. The _allocation field is typed as an unsigned intptr_t and gcc catches this as an error.

Reviewed-by: jcoomes, ysr, phh
2010-08-18 10:59:06 -07:00
Gary Benson
a325f5589a 6977640: Zero and Shark fixes
A number of fixes for Zero and Shark.

Reviewed-by: twisti
2010-08-18 01:22:16 -07:00
Abhijit Saha
a3319eba8a 6977952: Test: Sync missing tests from hs16.3 to hs17.x
Reviewed-by: wrockett
2010-08-17 22:52:50 -07:00
Erik Trimble
2929434832 Merge 2010-08-18 16:11:21 -07:00
Antonios Printezis
ce2883fbbd 6975964: G1: print out a more descriptive message for evacuation failure when +PrintGCDetails is set
We're renaming "evacuation failure" to "to-space overflow". I'm also piggy-backing a small additional change which removes the "Mark closure took..." output.

Reviewed-by: ysr, johnc
2010-08-17 14:40:00 -04:00
Antonios Printezis
7125621712 6974928: G1: sometimes humongous objects are allocated in young regions
As the title says, sometimes we are allocating humongous objects in young regions and we shouldn't.

Reviewed-by: ysr, johnc
2010-08-17 14:40:00 -04:00
Antonios Printezis
1f0201f90b 6959014: G1: assert(minimum_desired_capacity <= maximum_desired_capacity) failed: sanity check
There are a few issues in the code that calculates whether to resize the heap and by how much: a) some calculations can overflow 32-bit size_t's, b) min_desired_capacity is not bounded by the max heap size, and c) the assrt that fires is in the wrong place. The fix also includes some tidying up of the related verbose code.

Reviewed-by: ysr, jmasa
2010-08-17 14:40:00 -04:00
Erik Trimble
1b2d47b99b Merge 2010-08-17 09:43:34 -07:00
Y. Srinivas Ramakrishna
77f845359a 6948538: CMS: BOT walkers can fall into object allocation and initialization cracks
GC workers now recognize an intermediate transient state of blocks which are allocated but have not yet completed initialization. blk_start() calls do not attempt to determine the size of a block in the transient state, rather waiting for the block to become initialized so that it is safe to query its size. Audited and ensured the order of initialization of object fields (klass, free bit and size) to respect block state transition protocol. Also included some new assertion checking code enabled in debug mode.

Reviewed-by: chrisphi, johnc, poonam
2010-08-16 15:58:42 -07:00
John Cuthbertson
becf7cffb3 Merge 2010-08-14 00:47:52 -07:00
Tom Rodriguez
0f1f7c3b7f 6976372: # assert(_owner == Thread::current()) failed: invariant
Reviewed-by: kvn, twisti
2010-08-13 15:14:00 -07:00
Christine Lu
21a5efbe75 Added tag jdk7-b105 for changeset 1b104350a980 2010-08-13 11:38:16 -07:00
Erik Trimble
ba5d36a6d6 6977051: Bump the HS19 build number to 06
Update the HS19 build number to 06

Reviewed-by: jcoomes
2010-08-13 10:56:17 -07:00
Erik Trimble
728414c987 Merge 2010-08-13 10:55:42 -07:00
Daniel D. Daugherty
ae38e974f0 Merge 2010-08-13 07:33:20 -07:00
Tom Rodriguez
a96301c84e 6975006: assert(check.is_deoptimized_frame()) failed: missed deopt
Reviewed-by: kvn, twisti
2010-08-12 23:34:34 -07:00
Tom Rodriguez
1d736d2851 6974176: ShouldNotReachHere, instanceKlass.cpp:1426
Reviewed-by: kvn, twisti
2010-08-12 16:38:23 -07:00
John Coomes
bb7d4b2b35 6976378: ParNew: stats are printed unconditionally in debug builds
Reviewed-by: tonyp
2010-08-11 13:12:28 -07:00
Vladimir Kozlov
b092cb33e6 6973329: C2 with Zero based COOP produces code with broken anti-dependency on x86
Recompile without subsuming loads if RA try to clone a node with anti_dependence.

Reviewed-by: never
2010-08-11 10:48:20 -07:00
Gary Benson
d7310fb0f7 6976186: integrate Shark HotSpot changes
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.

Reviewed-by: kvn, twisti
2010-08-11 05:51:21 -07:00
Christian Thalinger
c9ac8cc788 6975855: don't emit deopt MH handler in C1 if not required
This CR implements the same for C1 as 6926782 for C2.

Reviewed-by: never
2010-08-11 01:17:27 -07:00
Jeremy Manson
b36bff7dcd 6378314: Bad warning message when agent library not found. local directory is not searched
Print a more detailed error message for agent library load failure.

Reviewed-by: jcoomes, never, ohair, coleenp
2010-08-10 19:17:57 -04:00
Y. Srinivas Ramakrishna
7ee29eeb6a 6973570: OrderAccess::storestore() scales poorly on multi-socket x64 and sparc: cache-line ping-ponging
Volatile store to static variable removed in favour of a volatile store to stack to avoid excessive cache coherency traffic; verified that the volatile store is not elided by any of our current compilers.

Reviewed-by: dholmes, dice, jcoomes, kvn
2010-08-10 14:53:35 -07:00
Tom Rodriguez
dc37d152e7 6975027: use of movptr to set length of array
Reviewed-by: kvn, iveresov
2010-08-10 12:15:10 -07:00
John Coomes
b0e98512a7 6970376: ParNew: shared TaskQueue statistics
Reviewed-by: ysr
2010-08-09 18:03:50 -07:00
Tom Rodriguez
68ff9b2b00 Merge 2010-08-09 17:51:56 -07:00
Vladimir Kozlov
2e48a18645 6975078: assert(allocated_on_res_area() || allocated_on_C_heap() || allocated_on_arena()
Pass the check in ResourceObj() if _allocation value is already set and object is allocated on stack.

Reviewed-by: dholmes, johnc
2010-08-09 15:17:05 -07:00
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
Jon Masamitsu
428d02d5d7 Merge 2010-06-10 08:27:35 -07:00
John R Rose
1f4cfb029b 6939203: JSR 292 needs method handle constants
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode.

Reviewed-by: twisti, never
2010-06-09 18:50:45 -07:00
Coleen Phillimore
b82f9f3c1e Merge 2010-06-09 13:53:58 -04:00
John Cuthbertson
6d8002eb26 6953058: G1: A bigapp crashes with SIGSEGV in compiled code
In C2's G1 post write barrier, the loads of the buffer and index fields from the DirtyCardQueue structure may be moved across a safepoint. Use the current value of "control" in the C2 IR to limit how far these loads can move.

Reviewed-by: never, iveresov, kvn
2010-06-07 17:46:04 -07:00
Tom Rodriguez
154ae789ef 6958485: fix for 6879921 was insufficient
Reviewed-by: kvn
2010-06-07 14:17:01 -07:00
Coleen Phillimore
d64aeff387 Merge 2010-06-04 17:44:51 -04:00
Erik Trimble
c0ec10188d Added tag hs19-b02 for changeset 95a32517326e 2010-06-04 11:43:53 -07:00
Igor Veresov
00b75f8353 6958292: C1: Enable parallel compilation
Enable parallel compilation in C1

Reviewed-by: never, kvn
2010-06-04 11:18:04 -07:00
Erik Trimble
51ba3f9981 6958458: Bump the HS19 build number to 03
Update the HS19 build number to 03

Reviewed-by: jcoomes
2010-06-03 18:18:56 -07:00
Vladimir Kozlov
36f8c82970 6958254: -XX:+VerifyOops is broken on x86
Save and restore r10 in verify_oop().

Reviewed-by: never
2010-06-03 14:20:27 -07:00
Michael Wilkerson
e5cdaaa612 Added tag jdk7-b96 for changeset 95a32517326e 2010-06-03 13:30:08 -07:00
Karen Kinnear
f8b167cccd Merge 2010-06-03 13:34:47 -04:00
Karen Kinnear
9934e0af8e 6852873: Reduce safepoint cleanup time
New optional flags to reduce inflated monitor cleanup times

Reviewed-by: chrisphi, dice
2010-06-03 13:21:47 -04:00
John R Rose
d6a9b93b5a Merge 2010-06-02 22:45:42 -07:00
Tom Rodriguez
3cf74e191f 6930994: Code cache is full warning should be visible in product
Reviewed-by: kvn, twisti, ysr
2010-06-02 20:15:33 -07:00
Tom Rodriguez
b26797f892 6956931: assert(SafepointSynchronize::is_at_safepoint()) failed: must be executed at a safepoint
Reviewed-by: kvn, dcubed
2010-06-02 14:23:23 -07:00
Vladimir Kozlov
bdef27482c 6957882: nsk/sajdi tests failed with NullPointerException
VM.getObjectAlignmentInBytes() accesses intxType before it is created.

Reviewed-by: never
2010-06-02 12:02:49 -07:00
Vladimir Kozlov
a3005a16fc 6954029: Improve implicit null check generation with compressed oops
Hoist DecodeN instruction above null check

Reviewed-by: never, twisti
2010-06-02 09:49:32 -07:00
Erik Trimble
98d775ab1f Merge 2010-06-01 11:48:33 -07:00
Erik Trimble
20118669d1 Merge 2010-06-01 11:28:04 -07:00
John R Rose
be95b163a6 6957080: MethodComparator needs stress testing
Add a stress-test flag for running MethodComparator over many inputs.  Fix bugs that crop up.

Reviewed-by: kvn
2010-05-29 19:22:32 -07:00
John R Rose
49cbc41c82 6957004: MethodComparator uses the wrong CP index accessor
Change two uses of get_index_u2 to get_index_u2_cpcache; also tweak some debugging print functions

Reviewed-by: kvn
2010-05-28 16:23:51 -07:00
Igor Veresov
4da8658b14 6955349: C1: Make G1 barriers work with x64
This fixes G1 barriers in c1 on x64.

Reviewed-by: never
2010-05-27 22:01:55 -07:00
Erik Trimble
ba7c173659 6941466: Oracle rebranding changes for Hotspot repositories
Change all the Sun copyrights to Oracle copyright

Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Vladimir Kozlov
cc18a50e59 6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
Added new product ObjectAlignmentInBytes flag to control object alignment.

Reviewed-by: twisti, ysr, iveresov
2010-05-27 18:01:56 -07:00
Keith McGuigan
211a79fc65 6930553: classfile format checker allows invalid method descriptor in CONSTANT_NameAndType_info in some cases
Check NameAndType_info signatures aggressively, even when unreferenced

Reviewed-by: coleenp, acorn, never
2010-05-27 17:06:39 -04:00
John Coomes
308ec93f02 6956472: test/runtime/6888954/vmerrors.sh uses ksh-specific syntax
Reviewed-by: jmelvin, kvn
2010-05-27 13:09:56 -07:00
Erik Trimble
18d0b0100c Merge 2010-05-27 12:42:44 -07:00
Erik Trimble
02c01a314b 6956513: Bump the HS19 build number to 02
Update the HS19 build number to 02

Reviewed-by: jcoomes
2010-05-27 12:40:34 -07:00
Michael Wilkerson
834fa8f12e Added tag jdk7-b95 for changeset 85e3d459ab3c 2010-05-27 10:57:13 -07:00
John R Rose
05b4f2e796 6956164: nightly regressions from 6939207
Fix errors in 6939207.

Reviewed-by: kvn
2010-05-27 09:54:07 -07:00
Daniel D. Daugherty
d2703f3e8d Merge 2010-05-26 14:16:55 -07:00
Tom Rodriguez
66b26ccfb4 Merge 2010-05-25 13:18:49 -07:00
Christian Thalinger
7a9f2e7625 6934104: JSR 292 needs to support SPARC C2
C2 for SPARC needs to support JSR 292.

Reviewed-by: kvn, never
2010-05-25 02:38:48 -07:00
John Cuthbertson
9936975b96 6941378: G1: change default value of G1UseFixedWindowMMUTracker to true
Rather than changing the default value of the G1UseFixedWindowMMUTracker, the flag and associated guarantee have been removed.

Reviewed-by: jcoomes, tonyp, ysr
2010-05-24 17:11:22 -07:00
John R Rose
e59f431f8d Merge 2010-05-24 14:15:14 -07:00
Tom Rodriguez
0582a3ba99 6490487: java support on 64 bit solaris x86 machines is broken
Reviewed-by: kvn, kamg
2010-05-24 13:53:38 -07:00
John R Rose
581521ba96 6939207: refactor constant pool index processing
Factored cleanup of instruction decode which prepares for enhanced ldc semantics.

Reviewed-by: twisti
2010-05-23 01:38:26 -07:00
Erik Trimble
72cb87f26f Merge 2010-05-21 14:03:49 -07:00
Erik Trimble
cdb9a989f1 Added tag hs19-b01 for changeset 727ea9be3ad4 2010-05-21 14:01:44 -07:00
Christian Thalinger
2e24ba80e9 6930772: JSR 292 needs to support SPARC C1
C1 for SPARC needs to support JSR 292.

Reviewed-by: never, jrose
2010-05-21 02:59:24 -07:00
Michael Wilkerson
cb7c059235 Added tag jdk7-b94 for changeset 84ace44cf876 2010-05-20 16:00:15 -07:00
John Coomes
8a34049f04 Merge 2010-05-20 08:32:11 -07:00
Christian Thalinger
c9f2ba541b 6951083: oops and relocations should part of nmethod not CodeBlob
This moves the oops from Codeblob to nmethod.

Reviewed-by: kvn, never
2010-05-20 06:34:23 -07:00
John R Rose
a13355babf Merge 2010-05-20 01:34:22 -07:00
Michael Wilkerson
f0887dcc05 Merge 2010-05-19 20:16:16 -07:00
Y. Srinivas Ramakrishna
ed25c962e1 6953952: collectedHeap.cpp should use #ifdef _LP64 not LP64
Changed LP64 to _LP64 in collectedHeap.cpp.

Reviewed-by: kvn, jcoomes
2010-05-19 16:05:47 -07:00
Y. Srinivas Ramakrishna
51c1f35548 6953483: Typo related to ReduceInitialCardMarks leaves concurrent collectors vulnerable to heap corruption
Corrected mis-spelling of COMPILER2 in #ifdef, which could cause heap corruption in CMS due to precleaning when +ReduceInitialCardMarks. Thanks to ChenGuang Sun <suncg03@gmail.com> for bringing this typo to our attention.

Reviewed-by: tonyp, jmasa, jcoomes, kvn
2010-05-19 10:37:05 -07:00
Vladimir Kozlov
24b71d013a Merge 2010-05-19 10:22:39 -07:00
Phil Race
56be4c0b46 6953588: hotspot\src\share\vm\interpreter\bytecodes.cpp doesn't compile with VS2010 on AMD64
Reviewed-by: dcubed
2010-05-19 10:21:41 -07:00
Keith McGuigan
4f45d8c3a2 6911922: JVM must throw VerifyError for jsr or jsr_w opcodes in class file v.51+
6693236: A class file whose version number is greater than to 50.0 must be verified using the typechecker

Disable failover verification for classfiles >= v51

Reviewed-by: never, acorn, dholmes
2010-05-19 10:19:10 -04:00
Tom Rodriguez
00d1e12daf 6953576: bottom_type for matched AddPNodes doesn't always agree with ideal
Reviewed-by: kvn
2010-05-18 23:58:32 -07:00
Erik Trimble
55440a84b9 Merge 2010-05-18 14:10:01 -07:00
Tom Rodriguez
b03699b985 6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append
Reviewed-by: kvn, twisti
2010-05-18 13:45:03 -07:00
John Coomes
04b4d79094 6951319: enable solaris builds using Sun Studio 12 update 1
Reviewed-by: kamg, ysr, dholmes, johnc
2010-05-18 11:02:18 -07:00
Vladimir Kozlov
c12b2b3f69 6953267: assert in EA code with -XX:+StressReflectiveCode
Add missing checks into EA code.

Reviewed-by: never
2010-05-18 09:54:05 -07:00
Eric Caspole
430574f398 6950075: nmethod sweeper should operate concurrently
Reviewed-by: never, kvn
2010-05-17 16:50:07 -07:00
Vladimir Kozlov
85854f0e13 6951686: Using large pages on Linux prevents zero based compressed oops
Use req_addr when attaching shared memory segment.

Reviewed-by: twisti
2010-05-17 11:32:56 -07:00
Daniel D. Daugherty
9b7dfe0cbc Merge 2010-05-17 07:11:27 -07:00
Daniel D. Daugherty
8c248ee5f2 6949515: 3/3 VM crash when calling GetMethodDeclaringClass
Use resolve_external_guard() instead of resolve_non_null().

Reviewed-by: thurka, kamg, acorn
2010-05-17 06:35:51 -07:00
Daniel D. Daugherty
e453a8780a Merge 2010-05-17 03:53:55 -07:00
Y. Srinivas Ramakrishna
f8643be266 6948539: CMS+UseCompressedOops: placement of cms_free bit interferes with promoted object link
When using compressed oops, use compressed promoted pointers in b63:b31 of the mark word, so as not to interfere with the CMS "freeness bit" at b7. Updated mark-word layout documentation.

Reviewed-by: minqi, poonam, jmasa, coleenp
2010-05-17 00:47:28 -07:00
Poonam Bajaj
e009d84ff6 6745217: jmap assertion failure
SA shows exception with core files > 2GB. These changes fix that by correcting the size of CMSBitmap during its allocation.

Reviewed-by: swamyv
2010-05-15 18:24:34 -07:00
Andrey Petrusenko
0d3978019b 6921317: (partial) G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or we must be setting it to
Extended the failing assertion with the new message format to get more data.

Reviewed-by: tonyp
2010-05-14 10:28:46 -07:00
Erik Trimble
10da52364f Merge 2010-05-13 17:10:32 -07:00
Erik Trimble
f52963c1bc 6952178: Fork HS18 to HS19 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS19 fork

Reviewed-by: jcoomes
2010-05-13 14:47:21 -07:00
Erik Trimble
8878667a36 Merge 2010-05-13 14:35:14 -07:00
Michael Wilkerson
9d2e4e1022 Added tag jdk7-b93 for changeset 886a48579400 2010-05-13 13:22:12 -07:00
John Coomes
d14dfb51af Merge 2010-05-13 13:05:47 -07:00
John R Rose
44f4fafdee Merge 2010-05-12 22:06:02 -07:00
Michael Wilkerson
c11f16c7f5 Merge 2010-05-12 17:19:41 -07:00
Gary Benson
df4f3b6c42 6951923: some uses of fatal1 were missed by 6888954
Reviewed-by: jcoomes
2010-05-12 10:28:13 -07:00
Gary Benson
b8491bb9fe 6951784: Zero deoptimizer changes
The way Zero currently handles deoptimization can lead to methods being freed while they are still being executed.

Reviewed-by: twisti
2010-05-12 03:49:52 -07:00
Daniel D. Daugherty
8773ad21fd Merge 2010-05-11 17:41:11 -07:00
John R Rose
71599d89d4 Merge 2010-05-11 15:19:19 -07:00
Phil Race
db63a9aa55 6931180: Migration to recent versions of MS Platform SDK
6951582: Build problems on win64

Changes to enable building JDK7 with Microsoft Visual Studio 2010

Reviewed-by: ohair, art, ccheung, dcubed
2010-05-11 14:35:43 -07:00
Tom Rodriguez
8afbd9a53e 6951190: assert(!klass_is_exact(),"only non-exact klass") while building JDK
Reviewed-by: kvn
2010-05-10 14:58:38 -07:00
Daniel D. Daugherty
f27d5ab6d8 Merge 2010-05-10 13:09:44 -07:00
Y. Srinivas Ramakrishna
4715f32101 6951188: CMS: move PromotionInfo into its own file
Moved PromotionInfo and friends into new files promotionInfo.{h,c}pp from their previous compactibleFreeListSpace.{h,c}pp home.

Reviewed-by: apetrusenko
2010-05-10 12:31:52 -07:00
Erik Trimble
bd1c4063c8 Added tag hs18-b04 for changeset 31ba466ddb99 2010-05-07 15:13:00 -07:00
Erik Trimble
145587a247 Merge 2010-05-07 15:12:28 -07:00
Gary Benson
399d1f6a5f 6950617: Zero/Shark interface updates
Zero needs a couple of new methods to allow Shark to access the new frame anchor field.

Reviewed-by: twisti
2010-05-07 04:20:56 -07:00
Michael Wilkerson
d8298c3ca4 Added tag jdk7-b92 for changeset 8f63b4408306 2010-05-06 18:25:58 -07:00
Erik Trimble
f5ca51f9e7 Merge 2010-05-06 13:03:03 -07:00
Erik Trimble
611ef51964 6950438: Add 6u18 and 6u20 release values explicitly to jprt.properties file
Modify jprt.properties to allow JPRT to use 6u18 and 6u18 targets

Reviewed-by: ohair
2010-05-06 12:46:21 -07:00
Gary Benson
4d6c5d6fef 6950178: Zero stack improvements
Moves the logic for determining the size of the Zero stack into the ZeroStack class.

Reviewed-by: twisti
2010-05-06 02:09:18 -07:00
Daniel D. Daugherty
1f1393802c Merge 2010-05-05 16:39:47 -07:00
Keith McGuigan
51da92458c 6949118: jvm.dll shows the company name as Sun Microsystems
Changed to "Oracle Corporation"

Reviewed-by: coleenp, dcubed
2010-05-05 09:28:13 -04:00
Gary Benson
070ea7c310 6949830: 6939134 broke Zero
The commit for 6939134 broke Zero.

Reviewed-by: twisti
2010-05-05 05:57:21 -07:00
Erik Trimble
510d77a436 Added tag hs18-b03 for changeset d5db8102090b 2010-05-04 12:25:39 -07:00
Erik Trimble
66a1d08862 Merge 2010-05-04 12:23:38 -07:00
Volker Simonis
43a9130faa 6935118: UseCompressedOops modification in methodOopDesc::sort_methods() causes JCK timeout
Add comparison functions for compressed oops to use bubblesort.

Reviewed-by: never, coleenp
2010-05-04 15:12:08 -04:00
Gary Benson
416df6da75 6949423: remove tagged stack interpreter for Zero
Missed Zero changes for 6943304.

Reviewed-by: twisti
2010-05-04 02:33:59 -07:00
Y. Srinivas Ramakrishna
d14cf2e13c 6919638: CMS: ExplicitGCInvokesConcurrent misinteracts with gc locker
GC-locker induced concurrent full gc should be asynchronous; policy now controlled by a separate flag, which defaults to false.

Reviewed-by: jmasa
2010-05-03 20:19:05 -07:00
Antonios Printezis
643553d0e6 Merge 2010-05-03 17:23:58 -04:00
Antonios Printezis
cc872846f5 Merge 2010-05-03 16:31:07 -04:00
Y. Srinivas Ramakrishna
762f60d343 6948537: CMS: BOT walkers observe out-of-thin-air zeros on sun4v sparc/CMT
On sun4v/CMT avoid use of memset() in BOT updates so as to prevent concurrent BOT readers from seeing the phantom zeros arising from memset()'s use of BIS.

Reviewed-by: jmasa, johnc, minqi, poonam, tonyp
2010-05-03 10:24:51 -07:00
John R Rose
973b1ef143 6939196: method handle signatures off the boot class path get linkage errors
Adjust MethodType lookup logic to search off the BCP, but not to cache those results

Reviewed-by: twisti
2010-05-01 21:57:35 -07:00
John R Rose
4eb75c2df3 6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces

Reviewed-by: twisti
2010-05-01 02:42:18 -07:00
Christian Thalinger
0211f9703a 6943304: remove tagged stack interpreter
Reviewed-by: coleenp, never, gbenson
2010-04-30 08:37:24 -07:00
Gary Benson
55457c9cc7 6939182: Zero JNI handles fix
Zero will exit with an error when invoked with -Xcheck:jni.

Reviewed-by: twisti, kamg
2010-04-30 04:27:25 -07:00
Igor Veresov
61b9d428d1 6948602: Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed
Disable the use of pcmpestri until it can be guaranteed that the load doesn't cross in to the uncommited space. See 6942326.

Reviewed-by: never, kvn
2010-04-29 17:53:58 -07:00
Erik Trimble
a7fa37352d 6948636: Bump the HS18 build number to 04
Update the HS18 build number to 04

Reviewed-by: jcoomes
2010-04-29 15:47:28 -07:00
Erik Trimble
f88224d98e Merge 2010-04-29 15:18:27 -07:00
Michael Wilkerson
1273d6969f Added tag jdk7-b91 for changeset c5092b6d8193 2010-04-29 14:32:43 -07:00
Christian Thalinger
6d2a896bcd 6829193: JSR 292 needs to support SPARC
There are unimplemented portions of the hotspot code for method handles and invokedynamic specific to SPARC.

Reviewed-by: kvn, never, jrose
2010-04-29 06:30:25 -07:00
John R Rose
78e6939c37 Merge 2010-04-29 00:03:40 -07:00
Igor Veresov
cb911cf098 6946892: c1 shouldn't sign-extend to upper 32bits on x64
C1 does sign-extension when it loads ints and shorts from memory to 64-bit registers. This causes problems for c2 because it relies on the fact the int passed in a 64-bit register is zero-extended.

Reviewed-by: never
2010-04-27 11:19:12 -07:00
Tom Rodriguez
eb534d777a 6943485: JVMTI always on capabilities change code generation too much
Reviewed-by: twisti, dcubed
2010-04-26 23:59:45 -07:00
Antonios Printezis
e1ae5e1cb0 Merge 2010-04-26 18:01:55 -04:00
Hiroshi Yamauchi
cd48f31efe 6946040: add intrinsic for short and char reverseBytes
Reviewed-by: never, twisti
2010-04-26 11:27:21 -07:00
Michael Wilkerson
f0c93107d3 Added tag jdk7-b90 for changeset f1a81d71d1c6 2010-04-22 16:54:23 -07:00
John Coomes
99196ff9ca 6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
2010-04-22 13:23:15 -07:00
Antonios Printezis
3e2cf1a294 6946048: G1: improvements to +PrintGCDetails output
Small improvements to G1's PrintGCDetails output. It also includes minor formatting details.

Reviewed-by: ysr, johnc
2010-04-22 15:20:16 -04:00
Antonios Printezis
a6d2266193 6949307: G1: raise a vm error, do not core dump, if target pause time and target interval are inconsistent
First, change the guarantee to raising a vm error. Second, set the interval dynamically, and based on the pause time target, if it is not set explicitly.

Reviewed-by: ysr, johnc
2010-05-07 13:14:41 -04:00
John Cuthbertson
b1867e0dd5 6819061: G1: eliminate serial Other times that are proportional to the collection set length
6871109: G1: remove the concept of the scan only prefix

Removed scan only regions and associated code. The young portion of the collection set is now constructed incrementally - when a young region is retired as the current allocation region it is added to the collection set.

Reviewed-by: apetrusenko, iveresov, tonyp
2010-04-22 10:02:38 -07:00
John R Rose
333bea1423 Merge 2010-04-21 01:13:15 -07:00