Antonios Printezis
01ea4199c7
7157073: G1: type change size_t -> uint for region counts / indexes
...
Change the type of fields / variables / etc. that represent region counts and indeces from size_t to uint.
Reviewed-by: iveresov, brutisso, jmasa, jwilhelm
2012-04-18 07:21:15 -04:00
Karen Kinnear
69a42aedf9
Merge
2012-04-01 17:04:26 -04:00
Yumin Qi
4b95e50bf7
7156960: Incorrect copyright headers in parts of the Serviceability agent
...
Errant files added as part of 7088955 fix. The Copyright information now corrected with gpl-header template
Reviewed-by: sla, ohair, mbykov
2012-03-28 14:27:38 -07:00
Dean Long
41d6c584cd
Merge
2012-03-17 17:31:59 -04:00
James Melvin
c3183e79ed
7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
...
On Mac OS X, align system property "os.arch" with Apple legacy JDKs. Also, improve os.name string matching by using contains() method instead of .startsWith().
Reviewed-by: dcubed, phh, ohair, katleman
2012-03-16 15:13:22 -04:00
Jiangli Zhou
b9e6895d3a
7109878: The instanceKlass EnclosingMethhod attribute fields can be folded into the _inner_class field
...
Fold instanceKlass::_enclosing_method_class_index and instanceKlass::_enclosing_method_method_index into the instanceKlass::_inner_classes array.
Reviewed-by: never, coleenp
2012-03-13 13:50:48 -04:00
Dean Long
0e7ca534eb
Merge
2012-04-12 18:41:24 -04:00
Bob Vandette
4d6f8e3d34
Merge
2012-04-10 13:27:09 -04:00
Staffan Larsen
83806487dc
7133111: libsaproc debug print should be printed as unsigned long to fit large numbers on 64bit platform
...
Reviewed-by: dcubed, mgronlun, dsamersoff
2012-04-05 14:16:23 +02:00
Jiangli Zhou
4a02eb3afe
7154670: The instanceKlass _implementors[] and _nof_implementors are not needed for non-interface klass
...
Change implementor to embedded instanceKlass field.
Reviewed-by: sspitsyn, minqi, coleenp
2012-03-29 22:18:56 -04:00
Krystal Mok
41f7f6302b
7145358: SA throws ClassCastException for partially loaded ConstantPool
...
In printValueOn() in ConstantPool.java check if the poolHolder is a valid Klass and only then print it.
Reviewed-by: sla, sspitsyn
2012-02-20 21:27:56 -08:00
Poonam Bajaj
e565fbba32
7009098: SA cannot open core files larger than 2GB on Linux 32-bit
...
Added Large File Support by compiling libsaproc.so with -D_FILE_OFFSET_BITS=64, and a small change with which SA should first load libraries from the path specified with SA_ALTROOT.
Reviewed-by: dholmes, kevinw, dcubed, minqi
2012-02-12 19:33:11 -08:00
Frederic Parain
7b1a6d8811
Merge
2012-02-03 14:04:59 -05:00
Karen Kinnear
ce074f86c3
7114376: Make system dictionary hashtable bucket array size configurable
...
7u4 new experimental flag -XX:PredictedClassLoadedCount=#
Reviewed-by: dholmes, phh, dcubed
2012-01-30 23:27:30 -05:00
Antonios Printezis
c9eb103b7f
7097586: G1: improve the per-space output when using jmap -heap
...
Extend the jmap -heap output for G1 to include some more G1-specific information.
Reviewed-by: brutisso, johnc, poonam
2012-01-18 10:30:12 -05:00
Jiangli Zhou
6bc84f7865
7129240: backout fix for 7102776 until 7128770 is resolved
...
Reviewed-by: phh, bobv, coleenp, dcubed
2012-01-11 19:54:34 -08:00
Bob Vandette
8e81e037e7
Merge
2011-11-29 14:44:44 -05:00
Jiangli Zhou
ee88278d34
7102776: Pack instanceKlass boolean fields into single u1 field
...
Reduce class runtime memory usage by packing 4 instanceKlass boolean fields into single u1 field. Save 4-byte for each loaded class.
Reviewed-by: dholmes, bobv, phh, twisti, never, coleenp
2011-11-17 12:53:59 -05:00
Tom Rodriguez
89ccd723ce
7108242: jinfo -permstat shouldn't report interned strings as part of perm
...
Reviewed-by: kvn, twisti
2011-11-08 20:42:26 -08:00
Igor Veresov
e9bfe21bdf
Merge
2011-10-21 00:58:30 -07:00
Tom Rodriguez
7749aaf387
7093690: JSR292: SA-JDI AssertionFailure: Expected raw sp likely got real sp, value was
...
Reviewed-by: kvn, twisti
2011-10-17 11:00:41 -07:00
David Holmes
c45d65f8eb
Merge
2011-10-17 01:40:27 -04:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Antonios Printezis
78662d3b17
Merge
2011-10-06 13:28:09 -04:00
Tom Rodriguez
f103a0e31f
7092278: "jmap -finalizerinfo" throws "sun.jvm.hotspot.utilities.AssertionFailure: invalid cp index 0 137"
...
Reviewed-by: kvn
2011-09-29 09:53:56 -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
a300a41ea1
7090654: nightly failures after 7086585
...
Reviewed-by: kvn
2011-09-14 13:57:32 -07:00
Antonios Printezis
75685a273a
7097048: G1: extend the G1 SA changes to print per-heap space information
...
Reviewed-by: brutisso, johnc
2011-10-03 19:04:14 -04:00
Antonios Printezis
95832db2e5
7059019: G1: add G1 support to the SA
...
Extend the SA to recognize the G1CollectedHeap and implement any code that's needed by our serviceability tools (jmap, jinfo, jstack, etc.) that depend on the SA.
Reviewed-by: never, poonam, johnc
2011-09-20 09:59:59 -04:00
Tom Rodriguez
e3afdf10ad
7088955: add C2 IR support to the SA
...
Reviewed-by: kvn
2011-09-11 14:48:24 -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
Tom Rodriguez
edb7b9514a
7051798: SA-JDI: NPE in Frame.addressOfStackSlot(Frame.java:244)
...
Reviewed-by: kvn
2011-09-05 17:09:05 -07:00
Tom Rodriguez
d4d5856fd4
7016881: JSR 292: JDI: sun.jvm.hotspot.utilities.AssertionFailure: index out of bounds
...
Reviewed-by: kvn, twisti
2011-09-02 22:00:49 -07:00
John Coomes
af31d0cf27
Merge
2011-08-19 14:08:18 -07:00
Tom Rodriguez
aa16309657
7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries
...
Reviewed-by: kvn, twisti, jrose
2011-07-21 08:38:25 -07:00
Tom Rodriguez
c2f2cb75fc
7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
...
Reviewed-by: jrose
2011-05-17 19:11:51 -07:00
Tom Rodriguez
b73681ae0c
Merge
2011-05-06 11:36:25 -07:00
Tom Rodriguez
676d346314
7041603: standalone SA doesn't build after 7010849
...
Reviewed-by: dcubed
2011-05-03 20:56:35 -07:00
Daniel D. Daugherty
50d82a0f69
7028172: 3/4 SA needs to adapt to Solaris libproc change made in 6748307
...
Support build and runtime configs of old and new interfaces as appropriate.
Reviewed-by: acorn, never
2011-05-02 14:53:49 -07:00
Coleen Phillimore
3c4d3002f2
Merge
2011-04-12 14:18:53 -07:00
David Katleman
079c89189f
7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
...
Reviewed-by: ohair, trims
2011-05-25 13:31:51 -07:00
John R Rose
41745904a3
Merge
2011-04-09 21:16:12 -07:00
John R Rose
16784a72e8
6981791: remove experimental code for JSR 292
...
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Andrew John Hughes
cf3120dddc
7010849: 5/5 Extraneous javac source/target options when building sa-jdi
...
Make code changes necessary to get rid of the '-source 1.4 -target 1.4' options.
Reviewed-by: dholmes, dcubed
2011-04-01 15:15:37 -07:00
Tom Rodriguez
fd8aac2f3c
7031614: jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
...
Reviewed-by: kvn, dcubed
2011-03-30 07:47:19 -07:00
Tom Rodriguez
87c2f53c25
7030300: more nightly failures after statics in Class changes
...
Reviewed-by: iveresov, jcoomes, dcubed
2011-03-23 10:55:43 -07:00
John Coomes
1ed31f9194
6962930: make the string table size configurable
...
Reviewed-by: never, phh, stefank, kamg, dholmes, coleenp
2011-03-21 18:38:00 -07:00
Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Keith McGuigan
8a44936bb0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
...
Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
Christian Thalinger
561c090437
7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug JDK7/b122
...
Reviewed-by: kvn, never
2011-02-01 03:38:44 -08: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
Erik Trimble
64115cbb85
Merge
2011-01-07 22:56:35 -08:00
Erik Trimble
3c6a7c89ff
7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: jcoomes
2011-01-03 15:30:05 -08:00
Daniel D. Daugherty
336f6c2576
6987812: 2/3 SAJDI: "gHotSpotVMTypes was not initialized properly in the remote process"
...
Change ExportDirectoryTableImpl to return the 'Export RVA' field without modification. Read 'Base Of Data' field in optional header when PE32 format COFF file is read. Refine search for dbgeng.dll and dbghelp.dll. Other cleanups.
Reviewed-by: swamyv, poonam
2010-12-23 07:58:35 -08:00
Coleen Phillimore
1b618f6415
Merge
2010-12-22 12:24:40 -05:00
Kevin Walls
2540ccd05f
7003487: clhsdbproc stacktrace fails on x64
...
Reviewed-by: phh
2010-12-17 12:14:48 +00:00
Igor Veresov
a9bee9ec34
Merge
2010-12-08 17:50:49 -08:00
Kevin Walls
03a1ccfef2
7003789: PTRACE_GETREGS problems with SA on Linux
...
Ifdef definitions for PTRACE_GETREGS_REQ clarified
Reviewed-by: dholmes
2010-12-08 04:50:35 -08:00
John R Rose
cc7c58e166
7001379: bootstrap method data needs to be moved from constant pool to a classfile attribute
...
Reviewed-by: twisti
2010-12-03 15:53:57 -08:00
John R Rose
4b08c56f72
6996563: 6984311 changes forgot to update vmStructs.cpp for new field _operands
...
Add missing line to vmStructs. Also fix bug with class dumper.
Reviewed-by: twisti, kvn
2010-11-05 12:18:30 -07:00
John R Rose
ce0125e7f2
6984311: JSR 292 needs optional bootstrap method parameters
...
Allow CONSTANT_InvokeDynamic nodes to have any number of extra operands.
Reviewed-by: twisti
2010-10-30 13:08:23 -07:00
Christian Thalinger
a4b2fe3b1c
6978355: renaming for 6961697
...
This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
2010-08-25 05:27:54 -07:00
Bob Vandette
b95c7e9523
6953477: Increase portability and flexibility of building Hotspot
...
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00
John R Rose
a4e4149340
6964498: JSR 292 invokedynamic sites need local bootstrap methods
...
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs.
Reviewed-by: twisti
2010-07-15 18:40:45 -07:00
Tom Rodriguez
7533d0caf7
6965184: possible races in make_not_entrant_or_zombie
...
Reviewed-by: kvn
2010-07-08 14:29:44 -07:00
John R Rose
1f4cfb029b
6939203: JSR 292 needs method handle constants
...
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode.
Reviewed-by: twisti, never
2010-06-09 18:50:45 -07:00
John R Rose
d6a9b93b5a
Merge
2010-06-02 22:45:42 -07:00
Vladimir Kozlov
bdef27482c
6957882: nsk/sajdi tests failed with NullPointerException
...
VM.getObjectAlignmentInBytes() accesses intxType before it is created.
Reviewed-by: never
2010-06-02 12:02:49 -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
Vladimir Kozlov
cc18a50e59
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
...
Added new product ObjectAlignmentInBytes flag to control object alignment.
Reviewed-by: twisti, ysr, iveresov
2010-05-27 18:01:56 -07:00
Christian Thalinger
c9f2ba541b
6951083: oops and relocations should part of nmethod not CodeBlob
...
This moves the oops from Codeblob to nmethod.
Reviewed-by: kvn, never
2010-05-20 06:34:23 -07:00
Poonam Bajaj
e009d84ff6
6745217: jmap assertion failure
...
SA shows exception with core files > 2GB. These changes fix that by correcting the size of CMSBitmap during its allocation.
Reviewed-by: swamyv
2010-05-15 18:24:34 -07:00
Tom Rodriguez
166ea7f01c
6945219: minor SA fixes
...
Reviewed-by: twisti
2010-04-20 13:26:33 -07:00
Andrew Haley
11051a4e6a
6932270: Allow Java's ELF symtab reader to use separate debuginfo files
...
Reviewed-by: never
2010-03-09 11:02: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
Vladimir Kozlov
022d690049
6892186: SA does not dump debug info for scalar replaced objects
...
Implement scalar replaced objects debug info dump in SA.
Reviewed-by: twisti
2009-10-21 09:15:33 -07:00
Erik Trimble
8cea3ed3b4
Merge
2009-10-09 15:18:52 -07:00
Xiomara Jayasena
15f08eb80e
6884624: Update copyright year
...
Update copyright for files that have been modified in 2009 through Septermber
Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
John R Rose
e261aecad8
6863023: need non-perm oops in code cache for JSR 292
...
Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Changpeng Fang
ff9a1bddb5
6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
...
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams
Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00
Tom Rodriguez
90e6599f47
6868051: (SA) FreeChunk support for compressed oops is broken
...
Reviewed-by: kvn, dcubed
2009-08-06 12:24:41 -07:00
Vladimir Kozlov
ab7a29cdcc
Merge
2009-08-06 09:37:26 -07:00
Changpeng Fang
ae00753bf7
6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
...
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens
Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
Xiomara Jayasena
a63ef10004
6862919: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 07/09
Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Tom Rodriguez
86034e0e20
6861984: solaris version of libsaproc.so should support SA_ALTROOT directly
...
Reviewed-by: kvn, twisti
2009-07-24 12:40:40 -07:00
Vladimir Kozlov
bb726c6f28
6840775: Multiple JVM crashes seen with 1.6.0_10 through 1.6.0_14
...
Put missed reference to allocated array in copyOf() intrinsic into OopMap for the call slow_arraycopy().
Reviewed-by: never
2009-07-01 20:22:18 -07:00
Vladimir Kozlov
7b9d6a79ac
6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
...
Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA.
Reviewed-by: never
2009-06-09 16:19:10 -07:00
Xiaobin Lu
627e2d9b8d
6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack
...
Reviewed-by: phh, dice, never, swamyv
2009-05-22 16:40:38 -07:00
Vladimir Kozlov
955a453996
Merge
2009-05-07 17:09:48 -07:00
Tom Rodriguez
df05badc49
6837224: libsaproc.so on linux needs version of 6799141
...
Reviewed-by: kvn
2009-05-04 22:06:47 -07:00
Poonam Bajaj
1e41f46948
6829234: Refix 6822407 and 6812971
...
Fixes two SA issues 6822407 and 6812971
Reviewed-by: swamyv, acorn, kvn, coleenp
2009-05-04 17:58:10 -07:00
Tom Rodriguez
62717f091a
Merge
2009-04-14 12:25:54 -07:00
Xiaobin Lu
62fa852746
6699669: Hotspot server leaves synchronized block with monitor in bad state
...
Remove usage of _highest_lock field in Thread so that is_lock_owned won't depend on the correct update of that field.
Reviewed-by: never, dice, acorn
2009-04-06 15:47:39 -07:00
Tom Rodriguez
5f10e8e82e
6826261: class file dumping from SA is broken
...
Reviewed-by: kvn, jcoomes
2009-04-03 18:51:31 -07:00
Karen Kinnear
d4f2196cd0
Merge
2009-04-02 18:17:03 -04:00
Karen Kinnear
1f5324fed4
6825642: nsk sajdi tests fail with NullPointerException
...
Reviewed-by: xlu, coleenp, kamg, swamyv
2009-04-02 14:26:42 -04:00
Vladimir Kozlov
aee9449305
Merge
2009-03-31 10:02:01 -07:00
Tom Rodriguez
99aa7292a3
6822333: _call_stub_compiled_return address handling in SA is broken causing jstack to hang occasionally
...
Reviewed-by: kvn, twisti
2009-03-27 14:37:42 -07:00