375 Commits

Author SHA1 Message Date
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00
Coleen Phillimore
305d2f27f1 8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.

Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05: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
Jesper Wilhelmsson
81ba2e32c0 8025856: Fix typos in the GC code
Fix about 440 typos in comments in the VM code

Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Vladimir Kozlov
ba7149bbda 8028468: Add inlining information into ciReplay
Allow dump and replay inlining for specified method during a program execution.

Reviewed-by: roland, twisti
2014-01-08 10:25:50 -08: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
Joseph Provino
b38f891924 8029566: PPC: OrderAccess::load_acquire(julong) is broken
JFR needs this fix to run on PPC

Reviewed-by: sla, mikael
2013-12-11 13:51:28 -05:00
Markus Grönlund
b1e3461fe5 8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
2013-11-23 12:25:13 +01:00
Alejandro Murillo
2c2fcae7df Merge 2013-11-02 13:02:59 -07:00
Coleen Phillimore
3e6630c07b 8024927: Nashorn performance regression with CompressedOops
Allocate compressed class space at end of Java heap.  For small heap sizes, without CDS, save some space so compressed classes can have the same favorable compression as oops

Reviewed-by: stefank, hseigel, goetz
2013-10-25 15:19:29 -04:00
Jesper Wilhelmsson
5976b6915a 8026852: Use restricted_align_down in collector policy code
Moved restricted_align_down to globalDefinitions and renamed it align_size_down_bounded

Reviewed-by: stefank, mgerdin, tschatzl
2013-10-21 18:52:13 +02:00
Igor Veresov
d94fef24b5 Merge 2013-10-17 10:58:45 -07:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Coleen Phillimore
fa72ad21f9 8022592: assert at constantTag.cpp:57: ShouldNotReachHere()
More missing cases for JVM_CONSTANT_Method{Handle,Type}InError

Reviewed-by: hseigel, dcubed
2013-10-11 11:23:49 -04:00
Igor Veresov
db9a439624 Merge 2013-10-13 13:22:24 -07:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Kevin Walls
c3d0e64506 8019375: Internal symbol table size should be tunable
Reviewed-by: coleenp, kamg
2013-10-08 09:33:51 +01:00
Thomas Schatzl
30ed89669a 8003420: NPG: make new GC root for pd_set
Move protection domain oops from system dictionary entries into a seperate set; the system dictionary references entries in that set now. This allows fast iteration during non-classunloading garbage collection. Implementation based on initial prototype from Ioi Lam (iklam).

Reviewed-by: coleenp, iklam
2013-10-09 10:57:01 +02:00
Vladimir Ivanov
9edb09d8fb 8024943: ciReplay: fails to dump replay data during safepointing
Reviewed-by: kvn, twisti
2013-10-07 14:11:49 +04:00
Vladimir Ivanov
9cb5f396ae 8025849: Redundant "pid" in VM log file name (e.g. hotspot_pidpid12345.log)
Reviewed-by: twisti, azeemj
2013-10-07 14:10:29 +04:00
Zhengyu Gu
81d4345cb8 Merge 2013-10-01 09:21:43 -04:00
Zhengyu Gu
fb39220608 8022187: Missing ResourceMark crash when assertion using FormatBufferResource fails
Uses stack for the format buffer instead of resource memory

Reviewed-by: kvn, coleenp
2013-10-01 08:54:05 -04:00
Lois Foltan
7bf953d005 7195622: CheckUnhandledOops has limited usefulness now
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.

Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +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
Dan Horak
7e77954221 8024914: Swapped usage of idx_t and bm_word_t types in bitMap.inline.hpp
Incorrect usage of idx_t where bm_word_t is appropriate.

Reviewed-by: tschatzl, brutisso
2013-09-17 12:04:11 +02:00
Yumin Qi
0cd7bc2cde 7164841: Improvements to the GC log file rotation
Made changes to easily identify current log file in rotation. Parameterize the input with %t for time replacement in file name.

Reviewed-by: ccheung, tschatzl, tamao, zgu
2013-09-16 15:35:04 -07:00
Bertrand Delsart
7d5c2653c3 Merge 2013-09-13 07:47:26 -07:00
Zhengyu Gu
9e8f860fec Merge 2013-09-13 10:34:15 -04:00
Vladimir Ivanov
13d322d70f 8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
Reviewed-by: twisti, kvn, sla
2013-09-13 04:16:54 -07:00
David Holmes
ce469f1922 8024256: Minimal VM build is broken with PCH disabled
Reviewed-by: coleenp, twisti
2013-09-11 00:38:18 -04:00
Vladimir Ivanov
f0e77ac67f 8001107: @Stable annotation for constant folding of lazily evaluated variables
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: rbackman, twisti, kvn
2013-09-10 14:51:48 -07: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
Lois Foltan
fca9e37c80 8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification

Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04: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
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
Daniel D. Daugherty
2c28ff340a Merge 2013-08-16 10:06:58 -07: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
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
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
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
Rickard Bäckman
3a7c3cc018 Merge 2013-08-08 23:49:04 +02:00
Rickard Bäckman
9c2ac55d23 Merge 2013-08-19 09:33:29 +02:00
Vladimir Kozlov
4ee53ef4e3 8021898: Broken JIT compiler optimization for loop unswitching
Fix method clone_projs() to clone all related MachProj nodes.

Reviewed-by: roland, adlertz
2013-08-16 14:11:40 -07:00
Vladimir Danushevsky
ddf5fcb7c2 8012144: multiple SIGSEGVs fails on staxf
Forward port of 7u change to add additional fence() on RMO platforms, with a load_acquire on all platforms

Reviewed-by: dholmes, kvn
2013-08-06 20:01:40 -04:00