2111 Commits

Author SHA1 Message Date
Mikael Gerdin
27c0786c3b 7148152: Add whitebox testing API to HotSpot
Add an internal testing API to HotSpot to enable more targeted testing of vm functionality

Reviewed-by: phh, dholmes
2012-02-23 14:58:35 +01:00
Tom Rodriguez
7a1487a726 Merge 2012-02-17 12:18:52 -08:00
Tom Rodriguez
0d25b8c4d5 7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread
Reviewed-by: kvn
2012-02-17 12:18:10 -08:00
Frederic Parain
7ded1f054b Merge 2012-02-17 06:34:49 -08:00
Stefan Karlsson
7daca4fc60 Merge 2012-02-17 13:23:29 +01:00
Vladimir Kozlov
867f3ba889 7145346: VerifyStackAtCalls is broken
Replace call_epilog() encoding with macroassembler use. Moved duplicated code to x86.ad. Fixed return_addr() definition.

Reviewed-by: never
2012-02-16 17:12:49 -08:00
John Coomes
5f0143a774 6330863: vm/gc/InfiniteList.java fails intermittently due to timeout
In some cases, allocate from the old gen before doing a full gc

Reviewed-by: stefank, jmasa
2012-02-16 13:13:53 -08:00
John Coomes
6827f384c9 7146343: PS invoke methods should indicate the type of gc done
Reviewed-by: stefank, jmasa
2012-02-16 13:12:25 -08:00
James Melvin
ac2ed39761 7146354: Re-enable Compressed OOPs after 7118647 is resolved
Relax the assertion to simply check for COOP mode rather than an exact address.

Reviewed-by: coleenp, kvn, phh, dcubed
2012-02-16 15:52:01 -05:00
Tom Rodriguez
9e339b8ded 7144318: GCLocker assert failure: assert(_needs_gc || SafepointSynchronize::is_at_safepoint(
Reviewed-by: kvn, twisti
2012-02-16 11:33:49 -08:00
Roland Westrelin
cb7dbaebc9 7143038: SIGSEGV in assert_equal / LinearScan::assign_reg_num
Forced exit may destory global objects that are still in use.

Reviewed-by: twisti, never, kvn
2012-02-16 09:20:40 +01:00
Vladimir Kozlov
539616f85a 7125136: SIGILL on linux amd64 in gc/ArrayJuggle/Juggle29
For C2 moved saving EBP after ESP adjustment. For C1 generated 5 byte nop instruction first if needed.

Reviewed-by: never, twisti, azeemj
2012-02-15 21:37:49 -08:00
Igor Veresov
24b07e7ae6 7142680: default GC affected by jvm path
Removed old tiered code

Reviewed-by: never, kvn
2012-02-15 16:29:40 -08:00
Bill Pittore
f9788f6987 Merge 2012-02-15 16:09:49 -05:00
Igor Veresov
b972e52710 7145345: Code cache sweeper must cooperate with safepoints
Safepoint in the sweeper loop in necessary

Reviewed-by: kvn, never
2012-02-15 12:32:03 -08:00
Nils Loodin
510522ff57 7145243: Need additional specializations for argument parsing framework
Reviewed-by: acorn, fparain
2012-02-15 12:17:30 -08:00
Tom Rodriguez
520f6fcc87 7145537: minor tweaks to LogEvents
Reviewed-by: kvn, twisti
2012-02-15 10:12:55 -08:00
Antonios Printezis
be06406cb8 7132029: G1: mixed GC phase lasts for longer than it should
Revamp of the mechanism that chooses old regions for inclusion in the CSet. It simplifies the code and introduces min and max bounds on the number of old regions added to the CSet at each mixed GC to avoid pathological cases. It also ensures that when we do a mixed GC we'll always find old regions to add to the CSet (i.e., it eliminates the case where a mixed GC will collect no old regions which can happen today).

Reviewed-by: johnc, brutisso
2012-02-15 13:06:53 -05:00
Roland Westrelin
e6f3ba89ec 7126041: jdk7u4 b05 and b06 crash with RubyMine 3.2.4, works well with b04
Goto that replaces a If mistaken to be a back branch and triggers erroneous OSR compilation.

Reviewed-by: never, iveresov
2012-02-15 09:43:16 +01:00
Yumin Qi
db677a6f75 Merge 2012-02-14 23:50:12 -08:00
Dean Long
479baa64e5 7140866: assert(covered) failed: Card for end of new region not committed
Resize covered region only after successfully mapping shared archive

Reviewed-by: brutisso, ysr
2012-02-15 00:51:07 -05:00
Serguei Spitsyn
c25eebd321 7130993: nsk/jdi/ReferenceType/instances/instances004 fails with JFR: assert(ServiceUtil::visible_oop(obj))
Skip reporting invisible refs in iterate_over_object to avoid assert(ServiceUtil::visible_oop(obj))

Reviewed-by: dcubed, mgronlun, rbackman
2012-02-14 17:04:40 -08:00
Keith McGuigan
ccebd55230 7145589: First JSDT provider creation fails
0 is a successful return from an ioctl() call

Reviewed-by: dcubed, phh, dsamersoff
2012-02-14 20:02:19 -05:00
Frederic Parain
476ee44449 7143760: Memory leak in GarbageCollectionNotifications
Reviewed-by: dholmes, dcubed, kamg
2012-02-14 06:54:27 -08:00
Frederic Parain
3008f1f46e Merge 2012-02-13 06:24:44 -08:00
Vladimir Kozlov
2d533fa2a9 7129284: +DoEscapeAnalysis regression w/ early build of 7u4 (HotSpot 23) on Linux
Removed code which tried to create edges from fields of destination objects of arraycopy to fields of source objects. Added 30 sec time limit for EA graph construction.

Reviewed-by: never
2012-02-10 12:53:43 -08:00
Bill Pittore
39f063f94d Merge 2012-02-10 10:55:15 -05:00
John R Rose
610e13c424 Merge 2012-02-09 18:01:20 -08:00
Zhengyu Gu
b0725ec91a Merge 2012-02-09 07:35:48 -08:00
Zhengyu Gu
e0ec1c804e 7141259: Native stack is missing in hs_err
Code cleanup and creating a private decoder for error handler, since it can be triggered from in signal handler, where no lock can be taken

Reviewed-by: dholmes, kamg, acorn, coleenp
2012-02-09 10:16:26 -05:00
Yumin Qi
3a09f847bb 7131006: java/lang/management/ThreadMXBean/ThreadLists.java
Reviewed-by: dholmes, acorn
2012-02-09 00:51:47 -08:00
Vladimir Kozlov
e6015c7c26 7143491: G1 C2 CTW: assert(p2x->outcnt() == 2) failed: expects 2 users: Xor and URShift nodes
Adjust the assert and code in eliminate_card_mark() method for case when stored value is NULL.

Reviewed-by: iveresov, never
2012-02-07 16:33:43 -08:00
Frederic Parain
b70c4be0d9 Merge 2012-02-07 12:34:31 -08:00
Bill Pittore
8e09c4566e Merge 2012-02-06 10:57:49 -05:00
John Coomes
abcd88ab09 Merge 2012-02-03 12:20:11 -08:00
John Coomes
140e8ff0d9 Merge 2012-02-03 12:08:55 -08:00
Frederic Parain
7b1a6d8811 Merge 2012-02-03 14:04:59 -05:00
John Coomes
39ab213a0a 6679764: enable parallel compaction by default
Reviewed-by: phh, jmasa
2012-02-02 16:05:17 -08:00
Tom Rodriguez
9599296d97 7013347: allow crypto functions to be called inline to enhance performance
Reviewed-by: kvn
2012-02-01 16:57:08 -08:00
Tom Rodriguez
5a41427b37 7141200: log some interesting information in ring buffers for crashes
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Roland Westrelin
a59952f4c9 7090976: Eclipse/CDT causes a JVM crash while indexing C++ code
Too optimistic inlining decision confuses local value numbering.

Reviewed-by: never
2012-02-01 10:36:58 +01:00
Christian Thalinger
2fd128fe15 7132180: JSR 292: C1 JVM crash with ClassValue/MethodHandle
Reviewed-by: never
2012-01-31 09:53:46 -08:00
Vladimir Kozlov
1b91bcb342 7140924: SIGSEGV in compiled code for sun.awt.X11.XDecoratedPeer.updateMinSizeHints
Use unknown_obj instead of empty_map for NULL or Constant Pool object constants in bytecode Escape Analyzer.

Reviewed-by: iveresov, never
2012-01-31 07:18:03 -08:00
Fredrik Ohrstrom
301215b860 7132779: build-infra merge: Enable ccache to work for most developer builds
When a build number is not specified, the JRE_RELEASE_VERSION define contains a date and timestamp. Thus ccache cannot cache the object files for longer than a minute since the define is passed to the compilation of all source files. This change passes JRE_RELEASE_VERSION only to vm_version.cpp and adds a function jre_release_version() to Abstract_VM_Version. This allows all other source files to be ccached.

Reviewed-by: ohair, rottenha
2012-01-31 13:12:39 +01:00
Karen Kinnear
ce074f86c3 7114376: Make system dictionary hashtable bucket array size configurable
7u4 new experimental flag -XX:PredictedClassLoadedCount=#

Reviewed-by: dholmes, phh, dcubed
2012-01-30 23:27:30 -05:00
Igor Veresov
082b8cb318 7141059: 7116795 broke pure c2 builds
Fix pure c2 builds

Reviewed-by: kvn, brutisso, never
2012-01-30 19:37:14 -08:00
Bengt Rutisson
d5546e27cf Merge 2012-01-30 05:08:09 -08:00
Deepak Bhole
ce79f12b7b 7140882: Don't return booleans from methods returning pointers
Changed "return false" to "return NULL"

Reviewed-by: dholmes, rottenha
2012-01-30 12:36:49 +01:00
Tom Rodriguez
5721fa222a 7129164: JNI Get/ReleasePrimitiveArrayCritical doesn't scale
Reviewed-by: kvn, iveresov, dholmes
2012-01-29 16:46:04 -08:00
Stefan Karlsson
0603a70b79 Merge 2012-01-28 01:15:34 -08:00