Commit Graph

313 Commits

Author SHA1 Message Date
zyj cd3a786e8f fix check VMVersion exception 2022-08-19 15:33:19 +08:00
lsp 7683b144e0 code review 2022-01-07 14:53:08 +08:00
yj 049f28aca5 merge with jdk8u212-ga and add sw port 2021-12-27 09:35:40 +08:00
Dmitry Samersoff ea08148237 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
Severin Gehwolf b689921dd7 8059038: Create new launcher for SA tools
Create separate launchers for clhsdb and hsdb since JDK 8 uses separate launchers for SA tools

Reviewed-by: kevinw, andrew
2018-12-12 14:46:23 +01:00
Severin Gehwolf 59bce5cee3 8208091: SA: jhsdb jstack --mixed throws UnmappedAddressException on i686
Be sure to use the same register index in native and Java code.

Reviewed-by: sballal, cjplummer, tbell
2018-07-23 18:08:46 +02:00
Fairoz Matte 9cbf925e33 8164383: jhsdb dumps core on Solaris 12 when loading dumped core
Add the required extra parameters to Plookup_by_addr() and proc_arg_grab() as per the change to libproc with Solaris 12.

Reviewed-by: sspitsyn
2018-10-02 09:45:39 -04:00
Rob McKenna a11834e543 Merge 2018-02-07 10:45:15 -08:00
David Buck fe1815815f 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: dholmes, erikj
2018-01-16 04:20:19 -05:00
Abhijit Saha 092fc63ee8 Merge 2017-10-24 23:06:24 -07:00
David Buck e39179c325 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, vlivanov
2017-09-29 14:30:05 -04:00
David Buck 55a23778f3 8023667: SA: ExceptionBlob and other C2 classes not available in client VM
Ignore error of intialization of C2 only variables

Reviewed-by: sla, dholmes
2017-09-07 10:15:21 -04:00
David Buck 93769b0c05 6656031: SA: jmap -permstat number of classes is off by 1
Reviewed-by: sla, dholmes
2017-08-23 04:07:36 -04:00
Yasumasa Suenaga 09bbf16f69 8173941: SA does not work if executable is DSO
Reviewed-by: aph, dsamersoff
2017-02-14 20:51:31 -05:00
Abhijit Saha 1533389bde Merge 2016-04-05 08:55:39 -07:00
Cheleswer Sahu 63f9c3a2e4 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
2016-03-01 12:50:37 +05:30
Abhijit Saha 4f8f44bc70 Merge 2016-02-15 16:42:25 -08:00
Kevin Walls 2b49564794 8148475: Missing SA Bytecode updates
Reviewed-by: coleenp
2016-02-08 13:08:57 +00:00
Daniel D. Daugherty 0cdce399fe Merge 2015-12-18 10:58:25 -08:00
Gerald Thornbrugh 89e90cd763 8144885: agent/src/os/linux/libproc.h needs to support Linux/SPARC builds
Added include of asm/ptrace.h to libproc.h

Reviewed-by: dcubed, mikael
2015-12-18 10:12:46 -08:00
Staffan Larsen eefd782873 8145099: Better error message when SA can't attach to a process
Reviewed-by: jbachorik, stuefe
2015-12-10 16:09:36 +01:00
Poonam Bajaj 7ca941302a 8140031: SA: Searching for a value in Threads does not work
Improve the thread and threads commands in CLHSDB

Reviewed-by: dsamersoff
2015-12-09 10:26:00 -08:00
Aleksey Shipilev b3c5531fe2 8059677: Thread.getName() instantiates Strings
Reviewed-by: coleenp, dholmes, sla
2016-02-02 11:44:20 +03:00
Zoltan Majo b12d70d203 8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.

Reviewed-by: kvn, roland, dlong, enevill, shade
2015-05-29 10:58:45 +02:00
Dmitry Samersoff e0504049cf 8044416: serviceability/sa/jmap-hashcode/Test8028623.java fails with AssertionFailure: can not get class data for java/lang/UNIXProcess$Platform$$Lambda
Lambda object is not counted when SA builds class data cache but is reached inside live region.

Reviewed-by: sla, jbachorik
2015-04-10 05:25:47 -07:00
Dmitry Samersoff 60b8d0b4d9 8067991: [Findbugs] SA com.sun.java.swing.ui.CommonUI some methods need final protect
Fixed java programmint style nit

Reviewed-by: jbachorik, sspitsyn
2015-04-07 02:56:25 -07:00
Dmitry Samersoff abe4f6262b 8068007: [Findbugs] SA com.sun.java.swing.action.ActionManager.manager should be package protect
Fixed java programming style nit

Reviewed-by: dholmes, jbachorik, sspitsyn
2015-04-02 13:01:27 -07:00
Kevin Walls 75b0bcdcc8 8073688: Infinite loop reading types during jmap attach
Reviewed-by: dsamersoff, sla
2015-03-03 19:42:09 +00:00
Dmitry Samersoff 6ea8b0b3ee 8049049: Unportable format string argument mismatch in hotspot/agent/src/os/solaris/proc/saproc.cpp
Cast arguments on printing

Reviewed-by: dholmes, sspitsyn, jbachorik
2015-03-05 04:06:04 -08:00
Dmitry Samersoff 36490b1a71 8025667: Warning from b62 for hotspot.agent.src.os.solaris.proc: use after free
Move free call few lines down

Reviewed-by: dholmes, sspitsyn
2015-03-04 02:46:07 -08:00
Dean Long dabf45c189 8072383: resolve conflicts between open and closed ports
Refactor close to remove references to closed ports

Reviewed-by: kvn, simonis, sgehwolf, dholmes
2015-02-24 15:04:52 -05:00
Poonam Bajaj f7d88881b5 8046282: SA update
8049881: jstack not working on core files

These changes add some definitions on the SA side and the supporting code on the hotspot side.

Reviewed-by: sla, dsamersoff, mgronlun
2015-02-17 19:59:05 -08:00
Stefan Johansson 0172cb133f 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
Dean Long 294f10a9b8 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
David Dehaven b9ba26357e 8043340: [macosx] Fix hard-wired paths to JavaVM.framework
Build system tweaks to allow building on OS X 10.9 and later

Reviewed-by: erikj, dholmes
2014-06-13 18:04:49 -07:00
Dmitry Samersoff 8edd2a8ba5 8032247: SA: Constantpool lookup for invokedynamic is not implemented
Implement constant pool lookup for invokedynamic

Reviewed-by: sla, sspitsyn
2014-09-11 11:55:30 -07:00
Stefan Johansson b788fd1a4c 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
Thomas Schatzl 72b99a2d2f 8054819: Rename HeapRegionSeq to HeapRegionManager
Reviewed-by: jwilhelm, jmasa
2014-08-26 09:36:53 +02:00
Thomas Schatzl a0da8dbb9c 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-19 10:50:27 +02:00
Mikael Gerdin 613b9fab21 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
Kim Barrett 5100d3497b 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
Mikael Vidstedt 83219b1617 8042059: Various fixes to linux/sparc
Reviewed-by: twisti, kvn
2014-04-29 22:05:10 -07:00
Vladimir Kozlov 2d0e056272 Merge 2014-03-26 18:21:05 -07:00
Calvin Cheung 332d2c3cb4 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
Vladimir Kozlov b0c6522634 Merge 2014-03-25 17:07:36 -07:00
Vladimir Kozlov eac0e3e38c Merge 2014-03-13 14:57:01 -07:00
Vladimir Kozlov 0e49bb5a21 Merge 2014-01-22 17:42:23 -08:00
Bengt Rutisson 60029bd947 8034079: G1: Refactor the HeapRegionSet hierarchy
Reviewed-by: tschatzl, pliden
2014-03-14 10:15:46 +01:00
Vladimir Kozlov ce4d765d8e 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
Kevin Walls c169f87366 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