707 Commits

Author SHA1 Message Date
Tom Rodriguez
8a75e5275a Merge 2010-10-20 13:18:17 -07:00
Christian Thalinger
c63f0d6e6a Merge 2010-10-20 04:19:01 -07:00
Tom Rodriguez
1d8c677377 6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Reviewed-by: kvn, twisti
2010-10-19 16:14:34 -07:00
Igor Veresov
6a17d9c416 6989669: Coops: -Xshare:dump causes crash
Temporarily fix to disable compressed oops with CDS

Reviewed-by: dholmes, twisti, kvn, never
2010-10-19 11:14:52 -07:00
Christian Thalinger
9cabdbf770 6990192: VM crashes in ciTypeFlow::get_block_for()
Reviewed-by: never
2010-10-19 02:52:57 -07:00
Karen Kinnear
7d2a7e7452 Merge 2010-10-13 11:46:46 -04:00
Keith McGuigan
da95f5319e 6392697: Additional flag needed to supress Hotspot warning messages
Apply PrintJvmWarnings flag to all warnings

Reviewed-by: coleenp, phh
2010-10-12 10:57:33 -04:00
John Coomes
cdc9022728 Merge 2010-10-08 09:29:09 -07:00
Bob Vandette
a594a8dea5 Merge 2010-10-07 15:14:41 -04:00
Bob Vandette
72616ad2bc 6989297: Integrate additional portability improvements
Reviewed-by: vladidan, dholmes
2010-10-07 15:12:57 -04:00
Coleen Phillimore
39992cab03 6983240: guarantee((Solaris::min_stack_allowed >= (StackYellowPages+StackRedPages...) wrong
Min_stack_allowed is a compile time constant and Stack*Pages are settable

Reviewed-by: dholmes, kvn
2010-10-07 08:06:06 -07:00
Vladimir Kozlov
68f9001261 Merge 2010-10-06 14:18:32 -07:00
Vladimir Kozlov
c5191a8103 6979458: VM crashes when -XX:ObjectAlignmentInBytes is too big
Set upper limit 256 for ObjectAlignmentInBytes value.

Reviewed-by: never, iveresov
2010-10-05 08:57:20 -07:00
Antonios Printezis
189be5a71f 6980838: G1: guarantee(false) failed: thread has an unexpected active value in its SATB queue
Under certain circumstances a safepoint could happen between a JavaThread object being created and that object being added to the Java threads list. This could cause the active field of that thread's SATB queue to get out-of-sync with respect to the other Java threads. The solution is to activate the SATB queue, when necessary, before adding the thread to the Java threads list, not when the JavaThread object is created. The changeset also includes a small fix to rename the surrogate locker thread from "Surrogate Locker Thread (CMS)" to "Surrogate Locker Thread (Concurrent GC)" since it's also used in G1.

Reviewed-by: iveresov, ysr, johnc, jcoomes
2010-10-01 16:43:05 -04:00
John Coomes
603e50f355 6988678: fatal error deadlock handling was unintentionally disabled
Reviewed-by: ysr
2010-09-30 12:15:13 -07:00
Zhengyu Gu
afc563751f 6988363: Rebrand vm vendor property settings (jdk7 only)
Vendor properties should be initialized after JDK version is determined.

Reviewed-by: kamg, ohair, dcubed, dholmes
2010-09-30 12:05:08 -04:00
Y. Srinivas Ramakrishna
cf2163334f 6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time
Inserted missing yield(check)s in closures used during the work-stealing phase of parallel concurrent marking, a missing synchronous yield-request in the cms perm gen allocation path, and a terminator-terminator for the offer_termination invocation that monitors the yield status of the concurrent marking task. Elaborated some documentation comments and made some task queue termination loop flags configurable at start-up to aid debugging in the field.

Reviewed-by: jmasa, johnc, poonam
2010-09-29 16:17:02 -07:00
John Coomes
1cdd538ea5 6423256: GC stacks should use a better data structure
6942771: SEGV in ParScanThreadState::take_from_overflow_stack

Reviewed-by: apetrusenko, ysr, pbk
2010-09-28 15:56:15 -07:00
Igor Veresov
f5bac56265 6987115: Non-tiered compilation policy creates unnecessary C1 threads
Fixed NonTieredCompPolicy::compiler_count() to return correct thread count.

Reviewed-by: twisti, kvn
2010-09-27 15:04:40 -07:00
Keith McGuigan
9e9551fdd8 Merge 2010-09-22 12:54:51 -04:00
Keith McGuigan
de088dd719 Merge 2010-09-17 19:45:12 -04:00
Zhengyu Gu
f9eb9cccb9 6981753: Rebrand vm vendor property settings
Uses JDK_Version to determinate to set vm vendor to "Oracle Corporation" for JDK7 and later.

Reviewed-by: kamg, ohair, coleenp
2010-09-17 09:45:32 -04:00
Vladimir Kozlov
5e98ce13ab Merge 2010-09-16 16:48:40 -07:00
Vladimir Kozlov
7df5e956d1 6984368: Large default heap size does not allow to use zero based compressed oops
Take into account HeapBaseMinAddress and round down MaxPermSize

Reviewed-by: never
2010-09-14 17:19:35 -07:00
John R Rose
52e3d262a1 6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
Reviewed-by: never
2010-09-13 23:24:30 -07:00
Y. Srinivas Ramakrishna
2cb284f394 Merge 2010-09-11 11:42:09 -07:00
Y. Srinivas Ramakrishna
f53d569221 6983930: CMS: Various small cleanups ca September 2010
Fixed comment/documentation typos; converted some guarantee()s to assert()s.

Reviewed-by: jmasa
2010-09-10 17:07:55 -07:00
Keith McGuigan
5c3276599b Merge 2010-09-07 11:38:09 -04:00
Igor Veresov
2c66a6c3fd 6953144: Tiered compilation
Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.

Reviewed-by: kvn, never, phh, twisti
2010-09-03 17:51:07 -07:00
Ivan P Krylov
5d5bcb4bca 6979444: add command line option to print command line flags descriptions
Implementation of a nonproduct boolean flag XX:PrintFlagsWithComments

Reviewed-by: kamg, dholmes, dsamersoff
2010-08-31 03:14:00 -07:00
Tom Rodriguez
150ca9b5b1 Merge 2010-08-27 17:35:08 -07:00
Tom Rodriguez
08d9e03b81 4809552: Optimize Arrays.fill(...)
Reviewed-by: kvn
2010-08-27 17:33:49 -07:00
Tom Rodriguez
d486ceec9f Merge 2010-08-25 10:31:45 -07:00
Christian Thalinger
a4b2fe3b1c 6978355: renaming for 6961697
This is the renaming part of 6961697 to keep the actual changes small for review.

Reviewed-by: kvn, never
2010-08-25 05:27:54 -07:00
Daniel D. Daugherty
11da6c2e2a Merge 2010-08-23 08:44:03 -07:00
John R Rose
c7e50e8305 6912064: type profiles need to be exploited more for dynamic language support
Reviewed-by: kvn
2010-08-20 23:40:30 -07:00
Tom Rodriguez
519c627fe5 Merge 2010-08-20 09:55:50 -07:00
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
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
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
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
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
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
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
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