Commit Graph

231 Commits

Author SHA1 Message Date
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
Staffan Larsen
e8848553b1 8013364: SA-JDI exceptions caused by lack of permissions on OSX should be more verbose about issue cause
Reviewed-by: coleenp, rbackman
2013-04-30 21:47:02 +02:00
Erik Helin
10be07bb9d 8008541: Remove old code in HotSpot that supported the jmap -permstat functionality
Reviewed-by: sla, brutisso
2013-04-30 16:36:24 +02:00
Staffan Larsen
60a56c2f06 8013466: SA crashes when attaching to a process on OS X
Reviewed-by: coleenp, rbackman, minqi
2013-04-30 10:53:58 +02:00
Igor Ignatyev
0a434e425b 8011675: adding compilation level to replay data
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -07:00
Jiangli Zhou
56370657b9 8010862: The Method counter fields used for profiling can be allocated lazily
Allocate the method's profiling related metadata until they are needed.

Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Peter Allwin
388d803077 8002118: WindbgDebuggerLocal should not try to load 64-bit debug libraries for 32-bit JVM
Reviewed-by: sspitsyn, zgu
2013-03-28 15:39:52 +01:00
Morris Meyer
8d607b2446 Merge 2013-03-21 21:48:56 -07:00
Yunda
3630c6a127 8009457: SA: A small fix on "scanoops" command in CLHSDB
Reviewed-by: sla, coleenp, kmo
2013-03-19 13:44:26 +01:00
Yunda
4fdb8216ac 8009456: SA: typeToVtbl of BasicTypeDataBase should not be static
Reviewed-by: coleenp, sla
2013-03-19 13:41:05 +01:00
Krystal Mo
d824b431de Merge 2013-03-16 21:44:52 -07:00
Yunda
f27f7d4c57 8008796: SA: Oop.iterateFields() should support CompressedKlassPointers again
Add a missing change from JDK-7054512 so that Oop.iterateFields() works with UseCompressedKlassPointers

Reviewed-by: coleenp, roland
2013-03-15 22:07:42 -07:00
Yumin Qi
be1b5fc17e 8003348: SA can not read core file on OS
Macosx uses Mach-O file format for binary files, not ELF format. Currently SA works on core files on other platforms, t his change enables SA work on core file generated on Darwin.

Reviewed-by: sla, sspitsyn
2013-03-14 00:33:08 -07:00
Daniel D. Daugherty
f73c8f1408 Merge 2013-03-08 17:14:22 -08:00
Morris Meyer
6723fac299 Merge 2013-03-07 14:46:20 -08:00
Staffan Larsen
112317dbe3 8009287: [parfait] Uninitialised variable in hotspot/agent/src/os/linux/ps_core.c
Reviewed-by: dholmes, kvn, mikael, morris
2013-03-05 08:50:59 +01:00
Daniel D. Daugherty
af6002665d Merge 2013-03-01 15:59:10 -08:00
Morris Meyer
4dd999e1ee 8008327: [parfait] Unitialized variable in hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m
Fix unitialized variable and return value.

Reviewed-by: kvn
2013-03-01 14:26:34 -08:00
Bengt Rutisson
02472faab5 Merge 2013-02-28 09:01:08 +01:00
Kevin Walls
37cdc7b1f8 7178741: SA: jstack -m produce UnalignedAddressException in output (Linux)
Reviewed-by: poonam, sla
2013-02-27 22:40:14 +00:00
Kevin Walls
13505fc4e5 8008807: SA: jstack crash when target has mismatched bitness (Linux)
Reviewed-by: rbackman, sla, poonam
2013-02-27 14:02:26 +00:00
Coleen Phillimore
b8b9434a9f 8000797: NPG: is_pseudo_string_at() doesn't work
Zero Symbol* for constant pool strings to indicate pseudo_strings (objects that aren't strings).  Clean up JVM_CONSTANT_Object and unused flags.

Reviewed-by: sspitsyn, jrose
2013-02-22 08:36:42 -05:00
Staffan Larsen
3e1c15cc0a 7165259: Remove BugSpot
Reviewed-by: coleenp, mgronlun
2013-02-22 10:03:02 +01:00
Staffan Larsen
5265514689 8007901: SA: Don't read flag values as constants
Reviewed-by: dholmes, mikael
2013-02-18 10:43:07 +01:00
Staffan Larsen
19f22d8bbc 8008102: SA on OS X does not stop the attached process
Reviewed-by: dholmes, rbackman
2013-02-15 08:54:12 +01:00
Staffan Larsen
bf91374f3f 8004840: Jstack seems to output unnecessary information in 7u9
Reviewed-by: dholmes, coleenp, sspitsyn, rbackman
2013-02-14 13:08:15 +01:00