718 Commits

Author SHA1 Message Date
John R Rose
a13355babf Merge 2010-05-20 01:34:22 -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
Eric Caspole
430574f398 6950075: nmethod sweeper should operate concurrently
Reviewed-by: never, kvn
2010-05-17 16:50:07 -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
Erik Trimble
10da52364f Merge 2010-05-13 17:10:32 -07:00
Erik Trimble
8878667a36 Merge 2010-05-13 14:35:14 -07:00
John Coomes
d14dfb51af Merge 2010-05-13 13:05:47 -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
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
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
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
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
Tom Rodriguez
98ee92e724 6939930: exception unwind changes in 6919934 hurts compilation speed
Reviewed-by: twisti
2010-04-15 18:14:49 -07:00
John R Rose
d3b254656d Merge 2010-04-13 13:01:37 -07:00
Antonios Printezis
ba815bf09e Merge 2010-04-09 13:08:34 -04:00
Christian Thalinger
4d0664b427 6941529: SharedRuntime::raw_exception_handler_for_return_address must reset thread MethodHandle flag
During testing a bug was hit when an exception returned to the interpreter and the SP was wrong.

Reviewed-by: kvn, never
2010-04-08 10:55:40 +02:00
Vladimir Kozlov
f6934fd3b7 6940726: Use BIS instruction for allocation prefetch on Sparc
Use BIS instruction for allocation prefetch on Sparc

Reviewed-by: twisti
2010-04-07 12:39:27 -07:00
Vladimir Kozlov
629d139cac 6940733: allocate non static oop fields in super and sub classes together
Use FieldsAllocationStyle=2 to allocate non static oop fields in super and sub classes together

Reviewed-by: twisti
2010-04-07 10:35:56 -07:00
Vladimir Kozlov
5f8098a402 6940701: Don't align loops in stubs for Niagara sparc
Don't align loops in stubs for Niagara sparc since NOPs are expensive.

Reviewed-by: twisti, never
2010-04-07 09:37:47 -07:00
Antonios Printezis
2e3363d109 6940310: G1: MT-unsafe calls to CM::region_stack_push() / CM::region_stack_pop()
Calling the methods region_stack_push() and region_stack_pop() concurrent is not MT-safe. The assumption is that we will only call region_stack_push() during a GC pause and region_stack_pop() during marking. Unfortunately, we also call region_stack_push() during marking which seems to be introducing subtle marking failures. This change introduces lock-based methods for pushing / popping to be called during marking.

Reviewed-by: iveresov, johnc
2010-04-05 12:19:22 -04:00
Vladimir Kozlov
6f0a3e4a80 Merge 2010-04-02 15:55:04 -07:00
Antonios Printezis
972acdab81 6937160: G1: should observe GCTimeRatio
Remove the G1GCPercent parameter, that specifies the desired GC overhead percentage in G1, and observe the GCTimeRatio parameter instead.

Reviewed-by: jmasa, johnc
2010-03-30 15:36:55 -04:00
Karen Kinnear
7aaaad73cf Merge 2010-03-26 11:10:26 -04:00
Andrey Petrusenko
531591c2b9 Merge 2010-03-22 02:40:53 -07:00
Tom Rodriguez
67c094c4c7 6926979: should simplify catch_inline_exception
Reviewed-by: twisti
2010-03-18 14:31:41 -07:00
Christian Thalinger
beb119b36b Merge 2010-03-18 06:36:43 -07:00
Christian Thalinger
1270c6c005 6932091: JSR 292 x86 code cleanup
Some code cleanups found during the JSR 292 SPARC port.

Reviewed-by: kvn, never
2010-03-18 09:56:51 +01:00
Frederic Parain
2450ae35a1 6935224: Adding new DTrace probes to work with Palantir
Adding probes related to thread scheduling and class initialization

Reviewed-by: kamg, never
2010-03-17 11:01:05 +01:00
Christian Thalinger
82e9e2b4af 6934494: JSR 292 MethodHandles adapters should be generated into their own CodeBlob
Passing a null pointer to an InvokeDynamic function call should lead to a NullPointerException.

Reviewed-by: kvn, never
2010-03-16 11:52:17 +01:00
Xiaobin Lu
09f8dd45d1 6934758: Expose the break down of clean up task time during safepoint
Use -XX:+TraceSafepointCleanupTime to print out the details of each clean up tasks.

Reviewed-by: dholmes, ysr
2010-03-13 16:32:49 -08:00
Coleen Phillimore
053d7adeb2 6929067: Stack guard pages should be removed when thread is detached
Add code to unmap stack guard area when thread is detached.

Reviewed-by: coleenp, kamg
2010-03-12 10:42:16 -05:00
Andrey Petrusenko
5e42804119 Merge 2010-03-15 02:56:45 -07:00
Karen Kinnear
8d1747bc4b Merge 2010-03-11 14:41:29 -05:00
Xiaobin Lu
8742fc8e62 6933402: RFE: Improve PrintSafepointStatistics output to track cleanup time
Improve the usability of safepoint statistics data. See bug evaluation for more details.

Reviewed-by: ysr, dholmes
2010-03-10 21:42:26 -08:00
Christian Thalinger
ffec4c00c4 6919934: JSR 292 needs to support x86 C1
This implements JSR 292 support for C1 x86.

Reviewed-by: never, jrose, kvn
2010-03-09 20:16:19 +01:00
John Coomes
4f82340476 4396719: Mark Sweep stack overflow on deeply nested Object arrays
Use an explicit stack for object arrays and process them in chunks.

Reviewed-by: iveresov, apetrusenko
2010-03-03 14:48:26 -08:00
John Cuthbertson
a9c71d9169 Merge 2010-03-02 13:59:37 -08:00
John Cuthbertson
76881615ca Merge 2010-03-02 13:57:46 -08:00
Coleen Phillimore
13ac3be829 6914050: jvm assertion "guard pages must be in use" in -Xcomp mode
Move creating stack guard pages in jni attach thread before potential java call rather than after. Also cleanup stack guard pages when jni attach fails

Reviewed-by: never, dholmes
2010-03-02 12:09:40 -08:00
Paul Hohensee
cef423370c 6923123: Hotspot refuses to start when -Xmx4m or -Xms4m is specified
Reduce NewSize from 4m to 1m.

Reviewed-by: tonyp, jmasa
2010-02-26 16:40:55 -05:00
Jon Masamitsu
f254745228 6928081: G1: rename parameters common with CMS
Rename marking stack sizing flags to be common between G1 and CMS

Reviewed-by: ysr, tonyp
2010-02-24 07:00:33 -08:00
Antonios Printezis
77b2dfce1d 6928073: G1: use existing command line parameters for marking cycle initiation
Replace the combination of the G1SteadyStateUsed / G1SteadyStateUsedDelta parameteres to decide the marking initiation threshold and instead use InitiatingHeapOccupancyPercent.

Reviewed-by: ysr, johnc
2010-02-23 23:14:34 -05:00
Christian Thalinger
c3066e0605 Merge 2010-02-18 10:44:14 -08:00
Vladimir Kozlov
892336beb1 6926697: "optimized" VM build failed: The type "AdapterHandlerTableIterator" is incomplete
Define AdapterHandlerTableIterator class as non product instead of debug.

Reviewed-by: never
2010-02-16 16:17:46 -08:00
John Cuthbertson
e475437c5a Merge 2010-02-16 14:11:44 -08:00