Stefan Karlsson
4913ad5d7d
8072911: Remove includes of oop.inline.hpp from .hpp files
...
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Ioi Lam
ef64d5393d
8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
...
Added API to track bootclasspath modification
Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Aleksey Shipilev
f8712e7800
8059677: Thread.getName() instantiates Strings
...
Reviewed-by: coleenp, dholmes, sla
2014-11-13 01:57:09 +03:00
Jeremy Manson
54e9fee4d2
8062116: JVMTI GetClassMethods is Slow
...
Allocate enough space for all jmethodids; make adding a jmethodid O(1)
Reviewed-by: coleenp, rasbold, sspitsyn
2014-11-05 16:47:37 -08:00
Coleen Phillimore
243d697d71
8026977: NPG: Remove ConstantPool::lock
...
Write klass and resolved_references constant pool fields lock free.
Reviewed-by: jrose, twisti
2014-06-19 11:16:10 -04:00
Peter Allwin
09afb7b210
8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method
...
Reviewed-by: dholmes, sspitsyn
2014-05-22 09:12:29 +02:00
Serguei Spitsyn
791b5d2b0d
6471769: Error: assert(_cur_stack_depth == count_frames(),"cur_stack_depth out of sync")
...
It is more safe to get/update data for suspended threads at a safepoint
Reviewed-by: dcubed, twisti, dholmes
2014-03-01 08:05:55 -08:00
Serguei Spitsyn
95cdf53e75
8034249: need more workarounds for suspend equivalent condition issue
...
Collect data at safepoint, do not rely on thread suspension
Reviewed-by: dcubed, dholmes
2014-02-18 06:19:49 -08:00
Serguei Spitsyn
465cfd7c01
8032223: nsk/regression/b4663146 gets assert(SafepointSynchronize::is_at_safepoint() || JvmtiEnv::is_thread_fully_suspended(get_thread(), false, &debug_bits))
...
It is better to calculate frame count for suspended threads at a safepoint
Reviewed-by: twisti, dsamersoff, sla, dholmes, dcubed
2014-02-04 19:41:46 -08:00
Ioi Lam
0e4eda601c
8014910: deadlock between JVM/TI ClassPrepare event handler and CompilerThread
...
Revert changes in JDK-8008962
Reviewed-by: coleenp, sspitsyn
2013-10-22 14:29:02 -07:00
Ioi Lam
4e19360f89
8008962: NPG: Memory regression: One extra Monitor per ConstantPool
...
Re-use InstanceKlass::_init_lock locking ConstantPool as well.
Reviewed-by: dholmes, coleenp, acorn
2013-04-25 12:55:49 -07:00
Zhengyu Gu
fc0efc91c8
8000692: Remove old KERNEL code
...
Removed depreciated kernel VM source code from hotspot VM
Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Stefan Karlsson
57204d9f34
8003935: Simplify the needed includes for using Thread::current()
...
Reviewed-by: dholmes, rbackman, coleenp
2012-11-27 14:20:21 +01:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Harold Seigel
7fee66f152
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
...
Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
2012-11-06 15:09:37 -05: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
Frederic Parain
13c689d9c3
6294277: java -Xdebug crashes on SourceDebugExtension attribute larger than 64K
...
Reviewed-by: sspitsyn, dholmes, coleenp, kamg
2012-07-09 01:28:37 -07: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
Daniel D. Daugherty
c210a09fdf
7122253: Instrumentation.retransformClasses() leaks class bytes
...
Change ClassFileParser::parseClassFile() to use the instanceKlass:_cached_class_file_bytes field to avoid leaking the cache.
Reviewed-by: coleenp, acorn, poonam
2011-12-22 12:50:42 -08:00
Omair Majid
160ad3376d
7103224: collision between __LEAF define in interfaceSupport.hpp and /usr/include/sys/cdefs.h with gcc
...
Reviewed-by: never
2011-10-25 08:17:15 -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
e39ba1a5fe
7086585: make Java field injection more flexible
...
Reviewed-by: jrose, twisti, kvn, coleenp
2011-09-10 17:29:02 -07:00
Tomas Hurka
34c1a8cd79
7007254: NullPointerException occurs with jvisualvm placed under a dir. including Japanese chars
...
Use java_lang_String::create_from_platform_dependent_str() instead of java_lang_String::create_from_str() in JvmtiEnv::AddToSystemClassLoaderSearch()
Reviewed-by: dcubed
2011-04-16 11:59:54 +02:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08: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
Keith McGuigan
de27a1608c
7004582: Add GetThisObject() function to JVMTI 1.2
...
Add 'GetThisObject' function
Reviewed-by: never, coleenp
2010-12-09 15:04:26 -05:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Tom Rodriguez
1d8c677377
6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
...
Reviewed-by: kvn, twisti
2010-10-19 16:14:34 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Y. Srinivas Ramakrishna
c0174fb200
Merge
2010-01-09 09:01:41 -08:00
Igor Veresov
5bec0d60ab
Merge
2010-01-06 22:21:39 -08:00
Tom Rodriguez
98449cf2c2
6914300: ciEnv should export all well known classes
...
Reviewed-by: kvn, twisti
2010-01-06 14:22:39 -08:00
Y. Srinivas Ramakrishna
642d1bc555
6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed
...
Decoupled TraceClassUnloading from verbose:gc, JVMTI_VERBOSE_GC and PrintGC[Details], making it settable in a manner identical to TraceClassLoading. Reverted an inadvertent change of TraceClassUnloading output in a previous changeset from gclog back to tty.
Reviewed-by: coleenp, dholmes, jmasa, poonam
2010-01-04 14:51:26 -08:00
Daniel D. Daugherty
ab3b12bdbd
Merge
2009-12-14 13:26:29 -07:00
Daniel D. Daugherty
ce78944539
6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
...
If a JVMTI agent asks for version 1.0, then it should get version 1.0 semantics.
Reviewed-by: dholmes, ohair
2009-12-14 10:05:36 -07:00
Daniel D. Daugherty
8dd1b6ace1
6648438: 4/4 src/share/vm/prims/jvmtiEnv.cpp:457 assert(phase == JVMTI_PHASE_LIVE,"sanity check")
...
Return error on invalid JVMTI_PHASE instead of asserting.
Reviewed-by: dholmes, ohair
2009-12-14 09:51:09 -07:00
Daniel D. Daugherty
56fe18e375
6800721: 3/4 JavaThread::jvmti_thread_state() and JvmtiThreadState::state_for() robustness
...
Check for NULL return values from jvmti_thread_state() and state_for() and return a JVM TI error code as appropriate.
Reviewed-by: coleenp, swamyv
2009-03-02 14:00:23 -07:00
J. Duke
8153779ad3
Initial load
2007-12-01 00:00:00 +00:00