Commit Graph

319 Commits

Author SHA1 Message Date
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
Poonam Bajaj
6d21b1e4cd 6822407: heapOopSize lookup is incorrect in Serviceability Agent
HeapOopSize symbol should be declared as constant in vmStructs and should not be looked up in readVMIntConstants().

Reviewed-by: never, swamyv, coleenp
2009-03-27 10:29:54 -07:00
Karen Kinnear
472349069b Merge 2009-03-23 10:42:20 -04:00
Vladimir Kozlov
41463d1d3a Merge 2009-03-19 09:13:24 -07:00
Karen Kinnear
f9f538c7fd Merge 2009-03-16 08:50:53 -04:00
Poonam Bajaj
9dff23337b 6812971: SA: re-attaching to process fails
After attaching, de-attaching SA from a process, the second time attach() call fails. This happens because in VM.initialize(), Universe does not get re-initialized before it is accessed.

Reviewed-by: swamyv
2009-03-15 18:11:46 -07:00
Vladimir Kozlov
69f9ddee90 6791178: Specialize for zero as the compressed oop vm heap base
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.

Reviewed-by: never, twisti, jcoomes, coleenp
2009-03-12 10:37:46 -07:00
Xiomara Jayasena
2be2e027b0 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Swamy Venkataramanappa
b15aadf61d 6786948: SA on core file fails on solaris-amd64 if vm started with -XX:+StartAttachListener
Reviewed-by: jjh, dcubed
2009-01-14 19:45:01 -08:00
Xiomara Jayasena
76df5ec473 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:19 -07:00
Vladimir Kozlov
659ca734bb 6706829: Compressed Oops: add debug info for narrow oops
Add support for narrow oops in debug info to avoid decoding.

Reviewed-by: rasbold, never
2008-09-10 18:23:32 -07:00
Poonam Bajaj
b640b025c8 6731958: Include all the SA classes into sa-jdi.jar
Sa-jdi.jar bundled with JDK should include all the SA classes.

Reviewed-by: swamyv
2008-08-27 22:45:38 -07:00
Swamy Venkataramanappa
14b6adc782 6718125: SA: jmap prints negative size for MaxNewHeap
Fixed printing of negative value for MaxNewHeap.

Reviewed-by: jjh
2008-08-12 12:44:22 -07:00
Hiroshi Yamauchi
bea7a516fb 6731726: jmap -permstat reports only 50-60% of permgen memory usage
Reviewed-by: swamyv, martin
2008-07-31 18:50:37 -07:00
Swamy Venkataramanappa
91e177bfd9 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
Removed maf-1_0.jar and jlfg-1_0.jar files.

Reviewed-by: poonam, jjh
2008-07-29 13:54:27 -07:00
Erik Trimble
2d6f42d18c Merge 2008-07-11 01:14:44 -07:00
Xiomara Jayasena
c96a95c4b8 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Swamy Venkataramanappa
510a97ebed 6620329: jstack prints double native methods on Solaris/sparc
Fixed stack walking code in sparc to start frame walk from last_java_sp.

Reviewed-by: sgoldman
2008-06-24 21:37:10 -07:00
Tom Rodriguez
01130cd21c Merge 2008-06-10 09:57:24 -07:00
Coleen Phillimore
a2d6036a4d 6687581: Make CMS work with compressed oops
Make FreeChunk read markword instead of LSB in _klass pointer to indicate that it's a FreeChunk for compressed oops.

Reviewed-by: ysr, jmasa
2008-06-09 11:51:19 -04:00
Tom Rodriguez
2144ccf2f1 Merge 2008-06-06 14:34:24 -07:00
Vladimir Kozlov
00bce59c67 6710654: SAJDI failures with Compressed Oops
Use correct offset for the java.lang.Class _klass field in SA.

Reviewed-by: jrose, never
2008-06-04 14:03:48 -07:00
Daniel D. Daugherty
e03f944292 Merge 2008-05-16 13:42:07 -07:00
John R Rose
3a4ea9a986 6701024: SAJDI functionality is broken
Back out sa-related changes to 6652736, use concrete expressions for WKK names in the SA

Reviewed-by: never, sundar
2008-05-14 00:41:06 -07:00
Daniel D. Daugherty
a2a49ae8de 6670684: 4/5 SA command universe did not print out CMS space information
Forward port of Yumin's fix for 6670684 from HSX-11; Yumin verified the port was correct.

Reviewed-by: dcubed
2008-05-09 08:55:13 -07:00
John R Rose
bb7ccea4ff 6652736: well known classes in system dictionary are inefficiently processed
Combine many scalar variables into a single enum-indexed array in SystemDictionary.

Reviewed-by: kvn
2008-04-29 19:45:22 -07:00
Coleen Phillimore
4a831d45f0 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv

Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
2008-04-13 17:43:42 -04:00
Daniel D. Daugherty
2927815658 6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
(for Serguei) Allow for Linux builds with Sun Studio Linux compilers

Reviewed-by: sspitsyn, ohair
2008-03-12 18:37:03 -07:00
J. Duke
8153779ad3 Initial load 2007-12-01 00:00:00 +00:00