3838 Commits

Author SHA1 Message Date
Stefan Karlsson
15464d7992 Merge 2013-08-26 07:01:23 -07: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
Poonam Bajaj
7df53d2e04 Merge 2013-08-22 18:09:29 -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
Harold Seigel
2df9b70f5e 7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX

Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX.

Reviewed-by: coleenp, dholmes, mseledtsov, ccheung
2013-08-22 11:52:27 -04:00
Vladimir Kempik
f3ca3801d9 8020530: Non heap memory size calculated incorrectly
Reviewed-by: coleenp, sla
2013-08-21 22:12:11 -07:00
Staffan Larsen
1e740c466f 8022808: Kitchensink hangs on macos
Use pthread_mach_thread_np() instead of mach_thread_self() to avoid leaking resources

Reviewed-by: dholmes, rbackman
2013-08-21 13:18:52 +02: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
Erik Helin
259a710013 Merge 2013-08-19 17:29:41 -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
Yumin Qi
056fb53c83 8023188: Unsafe volatile double store on bsd is broken
Reviewed-by: dcubed, dholmes
2013-08-19 09:16:35 -07: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
Ioi Lam
5189d350c9 8022740: Visual 2008 IDE build is broken
Fixed project generation code, and added warning to upgrade to VS 2008 SP1.

Reviewed-by: dcubed, ccheung
2013-08-10 10:56:27 -07:00
Daniel D. Daugherty
4d2ab5385c Merge 2013-08-09 15:36:09 -07:00
Daniel D. Daugherty
15aa5e3a57 Merge 2013-08-09 13:19:00 -07:00
Mikael Vidstedt
5fab892391 8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2
Add support for recognizing Windows 8.1 and Server 2012 R2 and minor cleanup

Reviewed-by: coleenp, dsamersoff
2013-08-09 09:51:21 -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
Daniel D. Daugherty
ae5b50414a 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
ProjectCreator tool is modified to support two new options: '-relativeAltSrcInclude' and '-altRelativeInclude' which prevents IDE linker errors. Also fixed some cmd line build linker warnings. Misc cleanups.

Reviewed-by: rdurbin, coleenp
2013-08-08 09:21:30 -07: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
Christian Thalinger
9e056eedc4 8022956: Clang: enable return type warnings on BSD
Reviewed-by: coleenp, sla
2013-08-20 10:57:50 -07:00