Commit Graph

256 Commits

Author SHA1 Message Date
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08: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
Staffan Larsen
3c425d407f 4990369: visibleMethods() and methodsByName() return wrong visible methods
Reviewed-by: sspitsyn, coleenp
2014-01-07 10:50:28 +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
Dmitry Samersoff
ed5c744803 6969276: minor memory leak detected by cppcheck in agent/src/os/linux/symtab.c
Missed free call on error return

Reviewed-by: sla, sspitsyn, igerasim
2013-12-18 23:09:57 +04:00
Erik Helin
865adecf33 Merge 2013-12-05 17:49:55 +01:00
Staffan Larsen
62e1b6eddd 8029395: SA: jstack throws WrongTypeException
SA missed some TLABs

Reviewed-by: dsamersoff, mgerdin, brutisso
2013-12-04 14:43:50 +01:00
Stefan Johansson
5811b8eb93 8029329: tmtools tests fail with NPE (in the tool) when run with G1 and FlightRecorder
Now iterating over all committed (used) G1 regions instead of all reserved.

Reviewed-by: brutisso, dsamersoff, mgerdin
2013-12-03 12:01:18 +01:00
Dmitry Samersoff
144769b78b 7050685: jsdbproc64.sh has a typo in the package name
Fixed typeo

Reviewed-by: sla, kmo, sspitsyn
2013-11-27 14:26:04 +04:00
Staffan Larsen
2dec2ad0dd 6626412: jstack using SA prints some info messages into err stream
Reviewed-by: coleenp, farvidsson, jbachorik, dsamersoff, sspitsyn
2013-11-14 20:03:15 +01:00
Staffan Larsen
44d7813397 6606002: jinfo doesn't detect dynamic vm flags changing
Reviewed-by: coleenp, jbachorik, sspitsyn
2013-11-14 19:30:07 +01:00
Dmitry Samersoff
3e0a2a86bf 8026950: Nits in agent ps_proc.c file breaks compilation of open hotspot
Fixed two compilation-breaking nits

Reviewed-by: sla, dholmes
2013-10-28 21:41:48 +04:00
Calvin Cheung
e187f54e56 Merge 2013-10-18 19:44:40 -07:00
Dmitry Samersoff
5594fcb058 Merge 2013-10-17 17:01:04 +00:00
Eric Mccorkle
2be8957d81 8005810: Update Hotspot Serviceability Agent for Method Parameter Reflection and Generic Type Signature Data
Hotspot was updated to store method parameter reflection and generic type signature data at runtime.  Serviceability agent support was updated for this data

Reviewed-by: coleenp, minqi, sla
2013-10-17 16:45:08 +04:00
Dmitry Samersoff
d6f90baf17 8025812: tmtools/jmap/heap_config tests fail on Linux-ia32 because it Cant attach to the core file
Coredump store memsz elf field rounded up to page

Reviewed-by: dholmes, sla
2013-10-17 16:08:01 +04:00
Thomas Schatzl
87c5582bac 8025925: jmap fails with "field _length not found in type HeapRegionSeq"
The change JDK-7163191 changed the data layout of a class that is referenced by the java code of the SA agent. This fix synchronizes the SA agent with that change.

Reviewed-by: sla, mgerdin
2013-10-16 11:46:06 +02:00
Fredrik Arvidsson
ec5d05699e 8025638: jmap returns 0 instead of 1 when it fails
Re-factored some code handling return values and fails/errors during tool execution.

Reviewed-by: sla, kevinw
2013-10-16 09:20:23 +02:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -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
Fredrik Arvidsson
d3094c0e8c 6313383: SA: Update jmap to support HPROF binary format "JAVA PROFILE 1.0.2"
Adds support for large(>4G) heap dumps in hprof format. Adds tests and updates testlibrary.

Reviewed-by: sla, allwin
2013-10-04 13:44:49 +02:00
Fredrik Arvidsson
738af149a2 8016845: SA is unable to use hsdis on windows
Added sadis.c to the build to provide missing symbols in sawindbg.dll. Added code to use the correct hsdisXXX.dll filename on different windows platforms.

Reviewed-by: sla, mgerdin
2013-10-04 13:01:07 +02:00
Calvin Cheung
48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Dmitry Samersoff
5a67ff2d74 8025250: SA: Sync linux and bsd versions of ps_core file
Linux/ps_core.c and bsd/ps_core.c share most of code, but it has different formatting, comments etc.

Reviewed-by: sla, minqi
2013-10-02 22:27:23 +04:00
Christian Thalinger
9376d94e6c 8025613: clang: remove -Wno-unused-value
Reviewed-by: iveresov
2013-09-28 12:42:22 -07:00
Niclas Adlertz
562ce20154 Merge 2013-09-27 12:43:51 -07:00
Christian Thalinger
cd7bfac363 8024545: make develop and notproduct flag values available in product builds
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07:00
Dmitry Samersoff
4d6a0655f9 7133122: SA throws sun.jvm.hotspot.debugger.UnmappedAddressException when it should not
Replace PT_LOAD segment with library segment when necessary

Reviewed-by: dholmes, sla
2013-09-22 18:49:09 +04:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +02:00
Christian Thalinger
4fa99b3fc5 8024760: add more types, fields and constants to VMStructs
Reviewed-by: kvn, coleenp
2013-09-13 16:55:44 -07:00
Stefan Johansson
86624d96d7 8024176: [macosx] gc/metaspace/ClassMetaspaceSizeInJmapHeap.java failed since jdk8b105, hs25b47
The code for reading compressed klass pointers in the sa-agent on Mac used readCompOopAddress instead of readCompKlassAddress, this is wrong but has been hidden because compressed oops and compressed klasses has used the same base address in the past.

Reviewed-by: sla, jmasa
2013-09-11 08:57:02 +02:00
Jiangli Zhou
033640bd2c 8023477: Invalid CP index when reading ConstantPool
Need to check for 0 case for InstanceKlass::_generic_signature_index.

Reviewed-by: sspitsyn, sla
2013-08-26 13:32:14 -04:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Yunda
65d83871e2 8011888: sa.js: TypeError: [object JSAdapter] has no such function "__has__"
Reviewed-by: sla, sundar, kmo
2013-07-23 14:32:37 +02:00
Jiangli Zhou
9fab0cfa1b Merge 2013-08-20 00:48:55 -07:00
Jiangli Zhou
553b498f51 8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes
Change InstanceKlass::_source_file_name and _generic_signature to u2 fields.

Reviewed-by: coleenp, iklam
2013-08-19 14:59:54 -04:00
Kevin Walls
a40e2a9236 8022655: ClassDump ignored jarStream setting
Reviewed-by: minqi, sla
2013-08-19 14:28:58 +01:00
Rickard Bäckman
cd450988cc Merge 2013-08-09 18:05:00 +02:00
Niclas Adlertz
bfe8385fa9 8022284: Hide internal data structure in PhaseCFG
Hide private node to block mapping using public interface

Reviewed-by: kvn, roland
2013-08-07 17:56:19 +02:00
Dmitry Samersoff
68198af05c 8019396: SA-JDI OSThread class initialization throws an exception
Method sun.jvm.hotspot.runtime.OSThread.initialize throws a sun.jvm.hotspot.types.WrongTypeException

Reviewed-by: dholmes, mgerdin
2013-08-06 14:28:48 +04:00
Kevin Walls
655fbf4cb1 8021444: SA: ClassDump.run() should not ignore existing ClassFilter
Reviewed-by: minqi, poonam
2013-08-05 10:27:31 +01:00
Jiangli Zhou
b454ece6d7 7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.

Reviewed-by: stefank, coleenp
2013-07-03 17:26:59 -04:00
Kevin Walls
08377de5ab 8010278: SA: provide mechanism for using an alternative SA debugger back-end
Reviewed-by: sla, dsamersoff
2013-06-26 00:01:20 +01:00
Coleen Phillimore
6ed8c8fcea 8003421: NPG: Move oops out of InstanceKlass into mirror
Inject protection_domain, signers, init_lock into java_lang_Class

Reviewed-by: stefank, dholmes, sla
2013-05-22 14:37:49 -04:00
Kevin Walls
aa8c580561 6313816: SA: jstack -m fails on Win32 : UnalignedAddressException
Reviewed-by: sla, poonam
2013-05-16 12:40:27 +01:00
Staffan Larsen
7a1ccbc48a 8013591: compiler/ciReplay/TestSA.sh fails in nightly
Reviewed-by: coleenp, rbackman, dholmes
2013-05-08 15:37:18 +02:00
Staffan Larsen
edf88d3db7 8005038: remove crufty '_g' support from SA
Reviewed-by: coleenp, mgronlun, rbackman
2013-05-07 14:33:09 +02:00
Vladimir Kozlov
43fbbe98b7 Merge 2013-05-02 18:50:05 -07:00
Mikael Gerdin
67b238b12d Merge 2013-05-02 19:28:59 +02:00