3407 Commits

Author SHA1 Message Date
Dmitry Samersoff
98c327bc7d 8009062: poor performance of JNI AttachCurrentThread after fix for 7017193
Don't re-evaluate stack bounds for main thread before install guard page

Reviewed-by: coleenp, dholmes, dlong
2013-08-29 21:48:23 +04:00
Harold Seigel
1ff22f2ed9 8016764: JVM does not prohibit invokespecial in c.f.v 51.0 that invokes default interface method in c.f.v 52.0
Check cfv before allowing invokespecial call to default method.

Reviewed-by: kamg, acorn, dholmes
2013-08-29 10:33:13 -04:00
Karen Kinnear
c0f4055c78 8020489: VM crash when non-existent interface called by invokespecial
Reviewed-by: kamg, coleenp
2013-08-28 08:15:01 -04:00
Yumin Qi
137cb8d4ee Merge 2013-08-27 07:54:05 -07:00
Karen Kinnear
1f882e206f Merge 2013-08-27 01:21:22 -07:00
Daniel D. Daugherty
54b3f19d2c Merge 2013-08-26 18:34:29 -07:00
Calvin Cheung
4415ae47cd 8020675: invalid jar file in the bootclasspath could lead to jvm fatal error
Removed offending EXCEPTION_MARK calls and code cleanup

Reviewed-by: dholmes, iklam, coleenp, mseledtsov
2013-08-26 14:11:26 -07:00
Karen Kinnear
38560368c1 8012294: remove generic handling for default methods
Reviewed-by: kamg, coleenp
2013-08-26 11:35:25 -04:00
Stefan Karlsson
15464d7992 Merge 2013-08-26 07:01:23 -07:00
Aleksey Shipilev
9f4ed448a0 8023638: Add the regression test for 8006997
Add the relevant test and proofread the VM messages as well

Reviewed-by: coleenp, mseledtsov, dcubed
2013-08-26 17:42:03 +04:00
David Simms
618cb11a73 8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.

Reviewed-by: dholmes, coleenp
2013-08-26 09:33:01 +02:00
Daniel D. Daugherty
3b29cc06ea Merge 2013-08-23 10:39:15 -07:00
Markus Grönlund
ea17b8decf 8023457: Event based tracing framework needs a mutex for thread groups
Reviewed-by: acorn, sla
2013-08-23 10:36:34 +02:00
Poonam Bajaj
626bd19644 Merge 2013-08-22 21:23:31 -07:00
Jiangli Zhou
5c6c0a8d1d 8023547: com/sun/jdi/RedefineMulti.sh fails with IllegalArgumentException after JDK-8021948
Need to check if the constant pool mapping returns 0.

Reviewed-by: coleenp, sspitsyn
2013-08-22 19:27:42 -04:00
Jon Masamitsu
2ef7b2abe3 Merge 2013-08-22 14:03:47 -07:00
Jon Masamitsu
892e74a87e Merge 2013-08-22 11:13:17 -07:00
Rickard Bäckman
4cb52fc49d Merge 2013-08-22 18:37:14 +02:00
Vladimir Kempik
f3ca3801d9 8020530: Non heap memory size calculated incorrectly
Reviewed-by: coleenp, sla
2013-08-21 22:12:11 -07:00
Daniel D. Daugherty
e951505eab 8023287: HOTSPOT_BUILD_COMPILER needs to support "Sun Studio 12u3"
Recognize 0x5120 as "Sun Studio 12u3".

Reviewed-by: dholmes, coleenp
2013-08-20 13:47:40 -07:00
Jiangli Zhou
9fab0cfa1b Merge 2013-08-20 00:48:55 -07:00
Jiangli Zhou
553b498f51 8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes
Change InstanceKlass::_source_file_name and _generic_signature to u2 fields.

Reviewed-by: coleenp, iklam
2013-08-19 14:59:54 -04:00
Daniel D. Daugherty
2c28ff340a Merge 2013-08-16 10:06:58 -07:00
Stefan Karlsson
7ade7987a0 8007074: SIGSEGV at ParMarkBitMap::verify_clear()
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.

Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +02:00
Bengt Rutisson
5075c7e128 Merge 2013-08-16 09:02:36 +02:00
Harold Seigel
4d91f4e69d 8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server

Move klass metaspace above the heap and support CDS with compressed klass ptrs.

Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Rickard Bäckman
8db7a08b50 Merge 2013-08-15 15:26:16 +02:00
Erik Helin
8250719f92 Merge 2013-08-15 06:20:48 -07:00
Bengt Rutisson
c144b8c30f 8023021: Unnecessary clearing of the card table introduced by the fix for JDK-8023013
Reviewed-by: stefank, ehelin
2013-08-15 10:05:50 +02:00
Jon Masamitsu
9354b09906 8021809: Partitioning based on eden sampling during allocation not reset correctly
Reviewed-by: ysr, hiroshi
2013-08-14 19:52:16 -07:00
Thomas Schatzl
ae7845053f 8022784: TaskQueue misses minimal documentation and references for analysis
Add appropriate documentation and references to publication to allow easier analysis of the TaskQueue implementation.

Reviewed-by: dholmes, ehelin
2013-08-21 10:32:02 +02:00
Jon Masamitsu
4fe3c66318 Merge 2013-08-20 10:02:38 -07:00
Erik Helin
e5f563bfef 8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace
Reviewed-by: stefank, sjohanss
2013-08-19 18:17:58 +02:00
Jon Masamitsu
b7f31f0375 Merge 2013-08-19 08:58:56 -07:00
Stefan Karlsson
8fc3bf8715 8023227: Enhance layout_helper_log2_element_size assert
Reviewed-by: mgerdin, jmasa
2013-08-19 13:44:13 +02:00
Bengt Rutisson
5e41090120 8023145: G1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0
Reviewed-by: stefank, mgerdin
2013-08-16 11:26:09 +02:00
Bengt Rutisson
befd51708b Merge 2013-08-15 13:02:42 -07:00
John Cuthbertson
f63547bf71 7145569: G1: optimize nmethods scanning
Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead.

Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn
2013-08-15 10:52:18 +02:00
Vladimir Kozlov
20f7d1a82a 8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag
Replace MAX_UNROLL constant with new C2 LoopMaxUnroll flag.

Reviewed-by: roland
2013-08-14 10:21:26 -07:00
Erik Helin
dab6bdc071 8022899: SunStudio compiler can not handle EXCEPTION_MARK and inlining
Reviewed-by: coleenp, mgerdin
2013-08-14 13:49:36 +02:00
Bengt Rutisson
253681b976 Merge 2013-08-14 10:55:45 +02:00
Bengt Rutisson
19ba466575 8022800: Use specific generations rather than generation iteration
Reviewed-by: jmasa, ehelin
2013-08-14 09:02:32 +02:00
Erik Helin
b42a7171ab 8020598: ObjectCountEventSender::send needs INCLUDE_TRACE guards when building OpenJDK with INCLUDE_TRACE=0
Reviewed-by: stefank, brutisso, sjohanss
2013-08-13 18:16:19 +02:00
Coleen Phillimore
a25f924de6 8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore

Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Daniel D. Daugherty
15aa5e3a57 Merge 2013-08-09 13:19:00 -07:00
Rickard Bäckman
cd450988cc Merge 2013-08-09 18:05:00 +02:00
Rickard Bäckman
3a7c3cc018 Merge 2013-08-08 23:49:04 +02:00
David Holmes
65115fab95 Merge 2013-08-08 08:29:28 -04:00
Rickard Bäckman
a231c31f38 8022675: Redundant class init check
Reviewed-by: kvn, twisti
2013-08-08 03:16:56 +02:00
Rickard Bäckman
9c2ac55d23 Merge 2013-08-19 09:33:29 +02:00