Staffan Larsen
eaac73cf84
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Ron Durbin
97d55c801e
8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
...
Decoupled the '-XXaltjvm=<path>' option from the gamma launcher. Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.
Reviewed-by: dcubed, dholmes
2014-01-30 14:12:22 -08:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
David Simms
edb5dd324e
8028280: ParkEvent leak when running modified runThese which only loads classes
...
Use spin lock to manage ParkEvent and PlatformEvent free lists.
Reviewed-by: dholmes, fparain
2014-01-24 09:28:47 +01:00
Staffan Larsen
6f46c5c2f0
8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked
...
Make sure we only look for statically linked agents in the main process image
Reviewed-by: dsamersoff, bpittore, dcubed
2014-01-23 09:06:21 +01:00
Staffan Larsen
b35fb5f8c0
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Harold Seigel
f84476eec5
Merge
2014-01-13 18:30:57 -05:00
Morris Meyer
a665235538
Merge
2014-01-10 12:54:08 -08:00
Zhengyu Gu
3d84ac9ef1
7012961: runtime/jni/WindowsExceptionFilter/WindowsExceptionFilter01 crashes on windows-amd64
...
VM needs to handle EXCEPTION_FLT_* exceptions on Win64
Reviewed-by: coleenp, ccheung
2014-01-09 14:06:53 -05:00
Goetz Lindenmaier
06b9210700
8031319: PPC64: Some fixes in ppc and aix coding
...
Reviewed-by: kvn
2014-01-07 17:24:59 +01:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Staffan Larsen
b91fa108bf
8029726: On OS X some dtrace probe names are mismatched with Solaris
...
8029727: On OS X dtrace probes Call<type>MethodA/Call<type>MethodV are not fired
8029728: On OS X dtrace probes SetStaticBooleanField are not fired
Reviewed-by: kamg, dsamersoff
2013-12-18 08:39:06 +01:00
Volker Simonis
d767bd2dfd
8019929: PPC64 (part 107): Extend ELF-decoder to support PPC64 function descriptor tables
...
Extend ELF-decoder to support PPC64 function descriptor tables
Reviewed-by: kvn, zgu
2013-12-05 19:19:09 +01:00
Goetz Lindenmaier
a7c123880e
8028471: PPC64 (part 215): opto: Extend ImplicitNullCheck optimization
...
Fixed Implicit NULL check optimization for AIX, where the page at address '0' is only write-protected.
Reviewed-by: kvn
2013-11-21 18:29:34 -08:00
Goetz Lindenmaier
c16bc98686
8028470: PPC64 (part 214): linux: extend signal handler to catch SIGTRAP on ppc64
...
Reviewed-by: kvn
2013-11-16 01:42:55 +01:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
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