Daniel D. Daugherty
38b93bbbcb
Merge
2015-03-06 08:47:51 -08:00
Kevin Walls
e616017fc8
8073688: Infinite loop reading types during jmap attach
...
Reviewed-by: dsamersoff, sla
2015-03-03 19:42:09 +00:00
Alejandro Murillo
94ddb7fc72
Merge
2015-03-03 06:23:49 -08:00
Vladimir Kozlov
239370b736
Merge
2015-02-26 10:56:54 -08:00
Jesper Wilhelmsson
b22466d59d
Merge
2015-02-26 19:32:03 +01:00
Dean Long
aa21fdd0c0
8072383: resolve conflicts between open and closed ports
...
Refactor close to remove references to closed ports
Reviewed-by: kvn, simonis, dholmes
2015-02-24 17:23:53 -05:00
Erik Joelsson
cf0e1e5323
8072904: building jdk9 with jdk9 boot jdk can cause failure or incorrect results
...
Reviewed-by: dholmes, dlong
2015-02-18 11:25:34 +01:00
Vladimir Ivanov
a1b368700b
Merge
2015-02-12 13:55:54 -08:00
Roland Westrelin
a967f754a2
8071999: SA's buildreplayjars fail with exception
...
Support default methods when dumping classes in SA
Reviewed-by: vlivanov, kvn, dsamersoff
2015-02-06 13:50:44 +01:00
Jiangli Zhou
dc9bb3c201
8071962: The SA code needs to be updated to support Symbol lookup from the shared archive
...
Support shared symbols lookup.
Reviewed-by: minqi, sspitsyn, dsamersoff, iklam
2015-01-30 20:31:05 -05:00
Dean Long
0682d29b8f
8069030: support new PTRACE_GETREGSET
...
Use PTRACE_GETREGSET if other options are not available
Reviewed-by: sla, dholmes
2015-02-02 23:26:33 -05:00
Vladimir Kozlov
5f8d6ce7b6
Merge
2015-01-20 15:24:58 -08:00
Maynard Johnson
675f6c191d
8049716: PPC64: Implement SA on Linux/PPC64
...
Reviewed-by: simonis, dsamersoff
2014-12-17 18:20:10 +01:00
Vladimir Kozlov
48b6c6007f
Merge
2014-12-11 15:06:12 -08:00
Andrew Haley
0b30e012ee
8064611: AARCH64: Changes to HotSpot shared code
...
Everything except cpu/ and os_cpu/
Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08:00
Dmitry Samersoff
2e3ffa9c5d
8028773: warnings from b116 for hotspot.agent.src.share.native: JNI exception pending
...
Added couple of missed exception checks
Reviewed-by: sla, sspitsyn
2014-12-11 09:15:10 -08:00
Mikael Gerdin
12c46a210f
8073532: jmap -heap fails after generation array removal
...
Fix field accessor code in the SA
Reviewed-by: jwilhelm, brutisso
2015-02-20 12:43:46 +01:00
Bengt Rutisson
5c41d82d78
8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
...
Reviewed-by: mgerdin, kbarrett
2014-12-01 14:37:25 +01:00
Staffan Larsen
c217bdda86
Merge
2014-11-17 09:36:40 +01:00
Jesper Wilhelmsson
c72d5c48e2
Merge
2014-11-13 12:29:09 +01:00
Aleksey Shipilev
f8712e7800
8059677: Thread.getName() instantiates Strings
...
Reviewed-by: coleenp, dholmes, sla
2014-11-13 01:57:09 +03:00
Albert Noll
4af87513d4
8062735: CodeCacheSweeperThread missing from SA
...
Make SA aware of the code cache sweeper thread
Reviewed-by: kvn, coleenp, sspitsyn
2014-11-06 07:27:25 +01:00
Bengt Rutisson
4601eb634a
8061308: Remove iCMS
...
Reviewed-by: mgerdin, jmasa
2014-10-31 09:10:51 +01:00
Jesper Wilhelmsson
27e9dd8a8d
8061805: BACKOUT - Remove the generations array
...
Backing out the change due to non-trivial test problems in nightly testing.
Reviewed-by: jwilhelm, mgerdin
2014-10-22 16:40:43 +02:00
Jesper Wilhelmsson
e238141b5c
8061802: REDO - Remove the generations array
...
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.
Reviewed-by: kbarrett, mgerdin
2014-08-22 10:10:08 +02:00
Jesper Wilhelmsson
71edbb2d96
8055702: Remove the generations array
...
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.
Reviewed-by: mgerdin, kbarrett
2014-08-22 10:10:08 +02:00
Daniel D. Daugherty
f1ab0fae73
8049737: Contended Locking reorder and cache line bucket
...
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket.
Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: shade, dice, dholmes, dsimms
2014-10-14 10:32:12 -07:00
Ioi Lam
4c5840ada6
Merge
2014-09-26 17:55:09 -07:00
Dmitry Samersoff
1ac95fd847
8054194: jstack crash: assert(handle != NULL) failed: JNI handle should not be null
...
Add better error check to sa to avoid secondary crash
Reviewed-by: sla, jbachorik, sspitsyn
2014-09-25 02:48:25 -07:00
Jesper Wilhelmsson
f9b921bd25
Merge
2014-09-22 16:22:21 +02:00
Tobias Hartmann
cd01de591a
8015774: Add support for multiple code heaps
...
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.
Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Tobias Hartmann
dd6285d984
8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods
...
Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.
Reviewed-by: kvn, vlivanov, drchase
2014-09-15 08:08:22 +02:00
Stefan Johansson
f8137659f5
8057536: Refactor G1 to allow context specific allocations
...
Splitting out a g1 allocator class to simply specialized allocators which can associate each allocation with a given context.
Reviewed-by: mgerdin, brutisso
2014-09-05 09:49:19 +02:00
Dmitry Samersoff
b4c90b963e
8035419: warning from b09 for hotspot.agent.src.os.win32.windbg.sawindbg.cpp: 'JNI exception pending'
...
Added missed exceptions checks
Reviewed-by: sla, sspitsyn
2014-09-04 04:17:32 -07:00
Serguei Spitsyn
f1aa6a6d0c
Merge
2014-08-29 11:35:03 -07:00
Coleen Phillimore
df46960ed0
Merge
2014-08-28 15:44:02 +00:00
Coleen Phillimore
49d21c007b
Merge
2014-08-28 11:30:11 -04:00
Coleen Phillimore
73d759e533
8049105: Move array component mirror to instance of java/lang/Class (hotspot part 2)
...
This removes component mirrors from arrayKlass metadata and the C2 intrinsic for them.
Reviewed-by: kvn, twisti, mgerdin
2014-08-28 11:29:09 -04:00
Dmitry Samersoff
4d88604ce5
8029172: warnings from b117 for hotspot.agent.src.os.linux: JNI exception pending
...
Added missed exception checks
Reviewed-by: chegar, sla
2014-08-28 07:46:49 -07:00
Dmitry Samersoff
ca7943ac3b
8031583: warnings from b03 for hotspot/agent/src/os/solaris/proc: JNI exception pending
...
Added missed exception checks
Reviewed-by: sla, sspitsyn
2014-08-28 06:32:16 -07:00
Thomas Schatzl
9086b5795f
8054819: Rename HeapRegionSeq to HeapRegionManager
...
Reviewed-by: jwilhelm, jmasa
2014-08-26 09:36:53 +02:00
Thomas Schatzl
2ee5ee89d4
8054818: Refactor HeapRegionSeq to manage heap region and auxiliary data
...
Let HeapRegionSeq manage the heap region and auxiliary data to decrease the amount of responsibilities of G1CollectedHeap, and encapsulate this work from other code.
Reviewed-by: jwilhelm, jmasa, mgerdin, brutisso
2014-08-18 16:10:44 +02:00
Dmitry Samersoff
2649b6be70
8049049: Unportable format string argument mismatch in hotspot/agent/src/os/solaris/proc/saproc.cpp
...
Cast arguments on printing
Reviewed-by: dholmes, sspitsyn, jbachorik
2014-08-11 04:37:19 -07:00
Dmitry Samersoff
dd9932fa02
8025667: Warning from b62 for hotspot.agent.src.os.solaris.proc: use after free
...
Move free call few lines down
Reviewed-by: dholmes, sspitsyn
2014-08-05 06:11:35 -07:00
Poonam Bajaj
5d40917272
8049881: jstack not working on core files
...
Access _trace_id field of Klass in try-catch block
Reviewed-by: dholmes, dsamersoff, mgronlun
2014-07-22 06:34:42 -07:00
Volker Simonis
a79ea5527c
8049715: PPC64: First steps to enable SA on Linux/PPC64
...
Reviewed-by: dholmes, kvn
2014-07-14 11:41:20 +02:00
Jon Masamitsu
dc19a9c4f8
Merge
2014-07-02 17:24:18 -07:00
Mikael Gerdin
1e1ef4f73f
8047818: G1 HeapRegions can no longer be ContiguousSpaces
...
Change parent of G1OffsetTableContigSpace to CompactibleSpace, reimplement missing functionality
Reviewed-by: stefank, jmasa, tschatzl
2014-06-26 11:36:58 +02:00
Poonam Bajaj
754a598a62
8046282: SA update
...
These changes add some definitions on the SA side and the supporting code on the hotspot side.
Reviewed-by: sundar, mgronlun
2014-06-24 02:19:59 -07:00
Jon Masamitsu
ad2e593b80
Merge
2014-06-18 12:39:57 -07:00
David Dehaven
02f3dbb898
8043340: [macosx] Fix hard-wired paths to JavaVM.framework
...
Build system tweaks to allow building with Xcode 5 and on OS X 10.9 and later
Reviewed-by: erikj, henryjen, dholmes
2014-06-17 11:18:10 -07:00
Dmitry Samersoff
92675f5272
8038392: Generating prelink cache breaks JAVA 'jinfo' utility normal behaviour
...
Better parsing of /proc/pid/maps in sa
Reviewed-by: sspitsyn, sla
2014-06-13 05:10:44 -07:00
Kim Barrett
e5749d72fd
8046408: Build failure from multiple ptrace.h
...
Prefer <sys/ptrace.h> over <linux/ptrace.h>
Reviewed-by: sla, mikael
2014-06-13 17:07:39 -04:00
Roland Westrelin
7ef690b2c7
8026694: New type profiling points break compilation replay
...
Fixes compilation replay with new profiling points
Reviewed-by: kvn, twisti
2014-05-15 09:09:28 +02:00
Mikael Vidstedt
c781bb874f
8042059: Various fixes to linux/sparc
...
Reviewed-by: twisti, kvn
2014-04-29 22:05:10 -07:00
Dmitry Samersoff
59ef728609
7189721: nightly tests failed on JDI attaching
...
If for some reason elf section with section names is not loaded to cache it attempts to read data using NULL section pointer.
Reviewed-by: sspitsyn, sla, kevinw
2014-03-31 08:23:02 -07:00
Dmitry Samersoff
ba76cc617e
Merge
2014-03-23 08:31:44 -07:00
Calvin Cheung
c78becb610
8034034: [parfait] JNI exc. pending in hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m
...
Added JNI exception check in the appropriate places
Reviewed-by: sla, zgu
2014-03-20 14:25:22 -07:00
Bengt Rutisson
c88e3def4d
8034079: G1: Refactor the HeapRegionSet hierarchy
...
Reviewed-by: tschatzl, pliden
2014-03-14 10:15:46 +01:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Niclas Adlertz
5d4b624caf
8033260: assert(lrg._area >= 0.0) failed: negative spill area
...
Change type from float to double on block frequency, and add check for +Inf - +Inf operation
Reviewed-by: kvn, roland
2014-02-25 17:51:27 +01:00
Erik Helin
7b6d31b4a5
Merge
2014-02-21 10:00:46 +01:00
Vladimir Kozlov
4200d0d095
Merge
2014-02-20 12:20:56 -08:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Stefan Johansson
10d4420b08
8033440: jmap reports unexpected used/free size of concurrent mark-sweep generation
...
SA used the wrong type for the indexedFreeList in CompactibleFreeListSpace.
Reviewed-by: coleenp, dsamersoff
2014-02-17 09:51:37 +01:00
Dmitry Samersoff
656746d828
7127191: SA JSDB does not display native symbols correctly for transported Linux cores
...
Better handle SA_ALTROOT
Reviewed-by: sla, sspitsyn
2014-02-12 23:39:53 +04:00
Dmitry Samersoff
a279dee28c
8023667: SA: ExceptionBlob and other C2 classes not available in client VM
...
Ignore error of intialization of C2 only variables
Reviewed-by: sla, dholmes
2014-02-12 22:08:43 +04:00
Jaroslav Bachorik
455663f56e
6656031: SA: jmap -permstat number of classes is off by 1
...
Reviewed-by: sla, dholmes
2014-01-30 09:41:45 +01:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Dmitry Samersoff
8c626c6501
Merge
2014-01-28 11:42:30 +00:00
Dmitry Samersoff
e6d68e6d66
7010732: SA_ALTROOT only works if running the SA tools from their build directory
...
Fixed SA packaging scripts
Reviewed-by: sla, kevinw
2014-01-28 14:45:39 +04:00
Dmitry Samersoff
ebf3cad435
8032247: SA: Constantpool lookup for invokedynamic is not implemented
...
Implement constant pool lookup for invokedynamic
Reviewed-by: sla, sspitsyn
2014-01-27 13:46:54 +04:00
Kevin Walls
ded754b7b2
8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters
...
Reviewed-by: sla, dsamersoff
2014-01-17 18:39:22 +00:00
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
Vladimir Kozlov
3b4f167e54
Merge
2013-12-12 11:05:39 -08: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
Vladimir Kozlov
1b2bf0be10
Merge
2013-12-05 15:13:12 -08: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
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08: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