Christian Thalinger
b2d6f9f78a
Merge
2014-05-08 15:08:45 -07:00
Zhengyu Gu
16a3e2f16d
6885993: Named Thread: introduce print() and print_on(outputStream* st) methods
...
Eliminating duplicated code by introducing print_on(outputStream* st) methods in NamedThread
Reviewed-by: twisti, coleenp, dholmes
2014-05-01 05:52:28 -07:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Vladimir Kempik
0ab60ab172
8016302: Change type of the number of GC workers to unsigned int (2)
...
Reviewed-by: tschatzl, jwilhelm
2014-04-03 17:49:31 +04:00
Stefan Johansson
b1cfdfafe2
8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline
...
Preventing GCs to occur before VM is completely initialized. This was previously partly done by one part of the GC locker which not was removed.
Reviewed-by: coleenp, pliden
2014-02-13 10:05:03 +01:00
Erik Helin
a45b9ead44
Merge
2014-02-25 11:02:11 +01:00
Stefan Karlsson
4248787654
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
...
Reviewed-by: tschatzl, coleenp
2014-02-21 10:01:20 +01:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
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
Goetz Lindenmaier
6eddc19daf
8032634: Add #ifdef PPC64 around OrderAccess operations on _thread_state
...
Reviewed-by: dholmes, kvn
2014-01-24 10:23:34 +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
Goetz Lindenmaier
46c4ef6572
8029396: PPC64 (part 212): Several memory ordering fixes in C-code
...
Memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp
2013-12-02 10:26:14 +01:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Albert Noll
aef0d74e96
8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
...
Ensure ensure correct initialization of compiler runtime
Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Christian Thalinger
7f46feeee2
8005173: assert(false) failed: DEBUG MESSAGE: exception oop must be empty (macroAssembler_x86.cpp:625)
...
Reviewed-by: kvn, iveresov
2013-10-11 10:14:02 -07: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
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
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
Vladimir Kozlov
f4c4fd7903
Merge
2013-08-01 17:25:10 -07:00
Rickard Bäckman
2d77390705
8020701: Avoid crashes in WatcherThread
...
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
Goetz Lindenmaier
ac0c6f1e84
8017313: PPC64 (part 6): stack handling improvements
...
Precompute limit for stack overflow check.
Reviewed-by: kvn, coleenp
2013-06-24 17:11:47 +02:00
Rickard Bäckman
9a67229e2f
8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
...
Reviewed-by: jrose, kvn, mgronlun
2013-06-12 11:17:39 +02:00
Frederic Parain
c716fa083c
7143807: ResourceMark nesting problem in stringStream
...
Reviewed-by: kvn, dcubed
2013-07-10 15:49:15 +00:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Daniel D. Daugherty
f3fb3c4777
8010257: remove unused thread-local variables _ScratchA and _ScratchB
...
Remove dead code.
Reviewed-by: twisti, coleenp
2013-06-04 19:39:21 -07:00
Zhengyu Gu
37fe1421a8
8010151: nsk/regression/b6653214 fails "assert(snapshot != NULL) failed: Worker should not be started"
...
Fixed a racing condition when shutting down NMT while worker thread is being started, also fixed a few mis-declared volatile pointers.
Reviewed-by: dholmes, dlong
2013-04-10 08:55:50 -04:00
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Joseph Provino
698fba94ef
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
...
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Stefan Karlsson
3c2f3a321a
8003720: NPG: Method in interpreter stack frame can be deallocated
...
Pass down a closure during root scanning to keep the class of the method alive.
Reviewed-by: coleenp, jcoomes
2012-11-27 10:13:20 +01:00
Rickard Bäckman
e1d995ab86
7127792: Add the ability to change an existing PeriodicTask's execution interval
...
Enables dynamic enrollment / disenrollment from the PeriodicTasks in WatcherThread.
Reviewed-by: dholmes, mgronlun
2012-10-04 14:55:57 +02:00
Nils Loodin
953bec36ab
8000617: It should be possible to allocate memory without the VM dying
...
Reviewed-by: coleenp, kamg
2012-10-17 17:36:48 +02:00
Joseph Provino
c5eaaaa070
7189254: Change makefiles for more flexibility to override defaults
...
Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
2012-10-10 14:35:58 -04:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Tom Rodriguez
9a93f60e34
7150390: JFR test crashed on assert(_jni_lock_count == count) failed: must be equal
...
Reviewed-by: dholmes, minqi, kvn, coleenp
2012-03-06 16:32:23 -08:00
Tom Rodriguez
9599296d97
7013347: allow crypto functions to be called inline to enhance performance
...
Reviewed-by: kvn
2012-02-01 16:57:08 -08:00
Tom Rodriguez
5721fa222a
7129164: JNI Get/ReleasePrimitiveArrayCritical doesn't scale
...
Reviewed-by: kvn, iveresov, dholmes
2012-01-29 16:46:04 -08:00
Markus Gronlund
007126d010
7115199: Add event tracing hooks and Java Flight Recorder infrastructure
...
Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.
Reviewed-by: acorn, sspitsyn
2012-01-11 17:34:02 -05:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Tom Rodriguez
edb7b9514a
7051798: SA-JDI: NPE in Frame.addressOfStackSlot(Frame.java:244)
...
Reviewed-by: kvn
2011-09-05 17:09:05 -07:00
Tom Rodriguez
fa7c124af1
7083786: dead various dead chunks of code
...
Reviewed-by: iveresov, kvn
2011-08-31 16:46:11 -07:00
Tom Rodriguez
a16e057c0a
6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify
...
Reviewed-by: kvn, iveresov
2011-05-16 22:16:44 -07:00
Tom Rodriguez
33f0e50994
7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
...
Reviewed-by: kvn, twisti
2011-05-02 18:53:37 -07:00
Keith McGuigan
8a44936bb0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
...
Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
Bob Vandette
31e3fe4a98
7016023: Enable building ARM and PPC from src/closed repository
...
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Keith McGuigan
6308eab4d5
6814943: getcpool001 catches more than one JvmtiThreadState problem
...
Mark field volatile, use membars, and change access order to close race
Reviewed-by: dcubed, dholmes
2011-01-11 10:06:00 -05:00
Paul Hohensee
7b0134a7cb
7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
...
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.
Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00
John Cuthbertson
1065281a98
6983204: G1: Nightly test nsk/regression/b4958615 failing with +ExplicitGCInvokesConcurrent
...
Enable reference discovery during concurrent marking by setting the reference processor field of the concurrent marking closure. Keep reference objects on the discovered reference lists alive during incremental evacuation pauses until they are processed at the end of concurrent marking.
Reviewed-by: ysr, tonyp
2010-12-01 17:34:02 -08:00