Alejandro Murillo
473901ee62
Merge
2013-11-01 08:26:54 -07:00
Jaroslav Bachorik
76ac5b0c28
8027294: Prepare hotspot for non TOD based uptime counter
...
Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime.
Reviewed-by: dholmes, sla
2013-10-25 09:07:58 +02:00
David Dehaven
be6a9b1f9c
8025673: [macosx] Disable X11 AWT toolkit
...
Disable but not completely remove the XAWT and headless toolkits on Mac OS X
Reviewed-by: dholmes
2013-10-24 20:47:18 -04:00
Volker Simonis
b2c4b12a12
8026487: PPC64: Implement 'os::fork_and_exec' on AIX
...
Reviewed-by: kvn, twisti
2013-10-16 10:52:41 +02:00
Gerard Ziemski
db171c7b5d
8025942: os::Bsd::available_memory() needs implementation
...
Implement using the host_statistics64() api.
Reviewed-by: dsamersoff, morris, dholmes, coleenp, hseigel, dcubed
2013-10-12 13:09:18 -04:00
John Coomes
e61cbf8d69
Merge
2013-10-11 08:27:21 -07:00
Stefan Karlsson
3b34e78d20
8024838: Significant slowdown due to transparent huge pages
...
Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM.
Reviewed-by: jwilhelm, tschatzl, brutisso
2013-10-05 10:14:58 +02:00
Dmitry Samersoff
13b13b1aed
8022616: u4 should not be used as a type for thread_id
...
Usage of u4 as a type for thread_id cause a compilation error on platform, where thread_id is a pointer
Reviewed-by: sla, sspitsyn, minqi
2013-10-03 12:39:58 +04:00
Dmitry Samersoff
259468dd26
8025283: Nits in os_bsd file breaks compilation of open hotspot
...
Couple of nits in os_bsd.cpp brake compilation of open hotspot on non-apple platforms
Reviewed-by: sla, sspitsyn
2013-10-02 20:58:44 +04:00
David Simms
d5157be0e8
8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL)
...
Execute some code at a high virtual address value, and keep mapped
Reviewed-by: coleenp, zgu
2013-09-25 13:58:13 +02:00
Thomas Schatzl
0a1b832ae0
Merge
2013-09-19 09:34:20 +02:00
Thomas Schatzl
9005953c71
Merge
2013-09-19 09:26:08 +02:00
Bertrand Delsart
765632873a
Merge
2013-09-18 21:47:51 -07:00
Gerald Thornbrugh
dffefd9ecf
6986195: correctly identify Ubuntu as the operating system in crash report instead of "Debian"
...
Cleanup and document how various Linux release info files are used by print_distro_info().
Reviewed-by: dcubed, dsamersoff, coleenp, iklam, omajid
2013-09-16 12:43:34 -07:00
David Holmes
139c3e6621
6900441: PlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock
...
Associate CLOCK_MONOTONIC with the pthread_cond_t objects used for relative timed waits
Reviewed-by: dcubed, shade
2013-09-16 07:38:13 -04:00
Zhengyu Gu
9e8f860fec
Merge
2013-09-13 10:34:15 -04:00
Bill Pittore
091edb47c5
8024007: Misc. cleanup of static agent code
...
Minor cleanup of static agent code from 8014135
Reviewed-by: dcubed, sspitsyn
2013-09-11 20:03:34 -04:00
Thomas Schatzl
962008f22b
8010722: assert: failed: heap size is too big for compressed oops
...
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Thomas Schatzl
a136d05739
8016825: Large pages for the heap broken on Windows for compressed oops
...
Correctly pass the requested base address for the heap to the OS function to reserve memory.
Reviewed-by: brutisso, stefank
2013-09-11 10:14:32 +02:00
Volker Simonis
2af861eed1
8023038: PPC64 (part 15): Platform files for AIX/PPC64 support
...
Reviewed-by: kvn
2013-09-06 20:16:09 +02:00
Ioi Lam
1c2a7eea85
8022335: Native stack walk while generating hs_err does not work on Windows x64
...
Use WinDbg API StackWalk64()
Reviewed-by: zgu, dholmes
2013-09-06 08:42:42 -07:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Thomas Schatzl
066b624223
Merge
2013-09-05 14:15:54 +02:00
Daniel D. Daugherty
379674be8f
Merge
2013-08-30 07:04:42 -07:00
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
Jon Masamitsu
728a40bcdc
Merge
2013-08-29 06:53:16 -07:00
Staffan Larsen
026aac8993
8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X
...
Reviewed-by: dholmes, rbackman
2013-08-29 11:05:55 +02:00
David Holmes
e5e78099db
Merge
2013-08-29 00:22:13 -04:00
Bill Pittore
993de8ba28
8014135: The JVMTI specification does not conform to recent changes in JNI specification
...
Added support for statically linked agents
Reviewed-by: sspitsyn, bobv, coleenp
2013-08-23 20:33:02 -04:00
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Stefan Johansson
80fea6f305
8016155: SIGBUS when running Kitchensink with ParallelScavenge and ParallelOld
...
When using NUMA and large pages we need to ease the requirement on which node the memory should be allocated on. To avoid the SIGBUS we now use the memory policy MPOL_PREFERRED, which prefers a certain node, instead of MPOL_BIND, which requires a certain node.
Reviewed-by: jmasa, pliden
2013-08-22 10:50:41 +02: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
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
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
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
Krystal Mok
27f8eea2ea
8021771: warning stat64 is deprecated - when building on OSX 10.7.5
...
Stat64 have to be replaced with stat
Reviewed-by: dholmes, kmo
2013-08-07 19:02:06 +04:00
Thomas Stuefe
a72b868ac2
8020775: PPC64 (part 12): posix signal printing
...
Implement methods printing posix signal information and call them in unix os files.
Reviewed-by: kvn, dholmes, twisti
2013-07-26 00:59:18 +02:00
Vladimir Kozlov
f4c4fd7903
Merge
2013-08-01 17:25:10 -07:00
Vladimir Kozlov
ed85bb1853
Merge
2013-07-19 13:32:53 -07:00
Daniel D. Daugherty
c2c0ba529a
Merge
2013-07-18 12:35:55 -07:00
Daniel D. Daugherty
c421e7a0d3
Merge
2013-07-18 12:05:32 -07:00
Calvin Cheung
ef70244a9a
8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20
...
Added (sig < MAXSIGNUM) check in jsig.c
Reviewed-by: dholmes, acorn
2013-07-17 12:22:57 -07:00
Rickard Bäckman
2d77390705
8020701: Avoid crashes in WatcherThread
...
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
Carlos Lucasius
235c30f21c
Merge
2013-07-15 12:24:32 -04:00
Vladimir Kozlov
493c485dc3
Merge
2013-07-11 12:56:29 -07:00
Roland Westrelin
d9ae342dff
Merge
2013-07-11 01:11:52 -07:00
Albert Noll
93d49935a9
8016749: -XX:+UseISM fails an assert(obj->is_oop()) when running SPECjbb2005
...
Remove obsolete code that relates to ISM which was used only on Solaris 8.
Reviewed-by: kvn, twisti
2013-07-10 13:33:56 -07:00
Daniel D. Daugherty
765f5cd4e7
8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
...
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Vladimir Kozlov
16f3142152
Merge
2013-07-03 11:50:29 -07:00
Tomas Hurka
425681caec
8009204: [dtrace] signatures returned by Java 7 jstack() are corrupted on Solaris
...
The fix is basically a backport of JDK-7019165 (pstack issue) to jhelper.d.
Reviewed-by: coleenp, sspitsyn
2013-07-01 14:13:12 -07:00