Commit Graph

4076 Commits

Author SHA1 Message Date
Staffan Larsen
a6fefc1cae Merge 2013-02-08 14:05:36 +01:00
Staffan Larsen
e563c0ecf4 8006423: SA: NullPointerException in sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:67)
Do not rely on mach thread port names to identify threads from SA

Reviewed-by: dholmes, minqi, rbackman
2013-02-08 12:48:24 +01:00
Christian Tornqvist
92053d4fb2 8007434: Write tests for 8006298
Four tests written for 8006298

Reviewed-by: mgerdin, coleenp
2013-02-08 10:42:24 +01:00
Daniel D. Daugherty
8ef946f380 7182152: Instrumentation hot swap test incorrect monitor count
Add/refine new tracing support using -XX:TraceRedefineClasses=16384.

Reviewed-by: coleenp, acorn, sspitsyn
2013-02-06 14:31:37 -08:00
David Holmes
de47c5722f Merge 2013-02-05 00:59:40 -08:00
Coleen Phillimore
6101f88a80 Merge 2013-02-04 22:59:45 -08:00
Jeremy Manson
329bc97900 8006508: Wrong frame constructor is called in os_linux_x86.cpp
Reviewed-by: dholmes, coleenp
2013-02-04 23:53:10 -05:00
Coleen Phillimore
3b65d23bc8 Merge 2013-02-04 13:51:01 -08:00
Volker Simonis
37d83019d0 8007475: Memory stomp with UseMallocOnly
Fix off-by-one error

Reviewed-by: coleenp, hseigel
2013-02-04 13:14:12 -05:00
Eric McCorkle
16990e896a 8006949: Update hotspot for MethodParameters format change
8006907: Hotspot should reject classfiles with multiple MethodParameters attributes

Update to Hotspot's processing of MethodParameters attributes in classfiles

Reviewed-by: coleenp, jrose
2013-02-04 13:05:32 -05:00
Harold Seigel
1831def9cc 8000968: NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes for > 32G CompressedOops
Pick a base that works for both CompressedOpps alignment and CompressedKlassPtrs alignment.

Reviewed-by: kvn, roland
2013-02-04 08:26:02 -05:00
Harold Seigel
6c6a537471 Merge 2013-02-03 17:12:31 -05:00
Harold Seigel
812262d16b 7197672: There are issues with shared data on windows
On Windows, set rw protection on the CDS file just before removing it.

Reviewed-by: dcubed, iklam
2013-02-03 16:49:16 -05:00
Dmitry Samersoff
302a583c08 8002048: Protocol to discovery of manageable Java processes on a network
Introduce a protocol to discover manageble Java instances across a network subnet, JDP

Reviewed-by: sla, dfuchs
2013-02-03 22:28:08 +04:00
Christian Tornqvist
898965f458 8000363: runtime/7158988/FieldMonitor.java fails with exception
Removed unnecessary shell script in the test.

Reviewed-by: coleenp, sla
2013-02-02 20:13:27 +01:00
Christian Tornqvist
8734c66d55 8005013: Add NMT tests
Add tests for the Native Memory Tracking feature, includes regression tests for 8005936 and 8004802

Reviewed-by: zgu, coleenp
2013-02-02 16:34:10 +01:00
Yumin Qi
82206bd7f5 Merge 2013-02-02 03:51:01 -08:00
Christian Tornqvist
ac8a131b61 Merge 2013-02-02 08:46:48 +01:00
Yumin Qi
4bc9ed2c1f Merge 2013-02-01 22:41:34 -08:00
Christian Tornqvist
2195d1d5e4 Merge 2013-02-02 07:24:29 +01:00
Jiangli Zhou
7eb8af5534 Merge 2013-02-01 19:36:55 -08:00
Christian Tornqvist
111ddcc827 8005012: Add WB APIs to better support NMT testing
Add WB API functions to enable better NMT testing

Reviewed-by: dholmes, zgu
2013-02-01 23:48:08 +01:00
Yumin Qi
bae6c82c7a Merge 2013-02-01 14:42:43 -08:00
Jiangli Zhou
7cadb57785 Merge 2013-02-01 15:25:37 -05:00
Yumin Qi
d907dfa21e Merge 2013-02-01 10:57:06 -08:00
Harold Seigel
4a1c674d5b Merge 2013-02-01 13:30:12 -05:00
Harold Seigel
a2966dd62d 8006298: Specifying malformed JFR options (-XX:+FlightRecorderOptions) outputs non-sensical error
Change error messages for malformed options so the messages are more useful.

Reviewed-by: mikael, kvn, nloodin
2013-02-01 14:14:54 -05:00
Serguei Spitsyn
932c29e08e 8006731: JSR 292: the VM_RedefineClasses::rewrite_cp_refs_in_method() must support invokedynamic
The invokedynamic bytecode ref to a CP entry needs to be checked and fixed as well.

Reviewed-by: coleenp, twisti
2013-01-31 20:11:14 -08:00
Serguei Spitsyn
da8ccb9375 8006546: JSR 292: typos in the ConstantPool::copy_cp_impl()
Simple typos that need to be fixed

Reviewed-by: coleenp, twisti
2013-01-31 20:09:16 -08:00
Serguei Spitsyn
823c749bd1 8006542: JSR 292: the VM_RedefineClasses::append_entry() must support invokedynamic entry kinds
Need a support for invokedynamic entry kinds when new and old constant pools are merged.

Reviewed-by: coleenp, twisti
2013-01-31 20:07:18 -08:00
Yumin Qi
b543c19bac 8000973: SA on windows thread inspection is broken
After bug 7161732, On Windows SA could not find correct address of thread_id of OSThread since _thread_id moved to end of the class . The presupposition of the address is following thread handle no longer stands. Fix by adding thread_id field to OSThread and getting the  address directly from OSThread.

Reviewed-by: nloodin, sspitsyn
2013-01-31 17:43:01 -08:00
Karen Kinnear
733d5fdd65 Merge 2013-01-28 09:33:55 -08:00
Bharadwaj Yadavelli
cb255a0269 8004967: Default method cause VerifyError: Illegal use of nonvirtual
Recognize VM generated method in old verifier

Reviewed-by: acorn, coleenp
2013-01-28 10:55:30 -05:00
Karen Kinnear
b28f16c910 Merge 2013-01-28 10:34:07 -05:00
Karen Kinnear
3f92d0764c Merge 2013-01-27 21:58:34 -05:00
Yumin Qi
fe8363948e Merge 2013-01-25 13:47:52 -08:00
Ioi Lam
93b845e21b 6479360: PrintClassHistogram improvements
Jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)

Reviewed-by: coleenp, hseigel, sla, acorn
2013-01-25 15:06:18 -05:00
Zhengyu Gu
fc0efc91c8 8000692: Remove old KERNEL code
Removed depreciated kernel VM source code from hotspot VM

Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Yumin Qi
f3c57efb11 Merge 2013-01-25 04:23:49 -08:00
Alejandro Murillo
0c7d523859 8006827: new hotspot build - hs25-b18
Reviewed-by: jcoomes
2013-01-25 03:03:23 -08:00
Alejandro Murillo
6e9aeb3520 Added tag hs25-b17 for changeset f767fc368725 2013-01-25 02:36:28 -08:00
Alejandro Murillo
d7fb5addc5 Merge 2013-01-25 02:36:28 -08:00
Christian Tornqvist
25189c1a6a 8006413: Add utility classes for writing better multiprocess tests in jtreg
Add a few utility classes to test/testlibrary to support multi process testing in jtreg tests. Added a test case for one of the utility classes. Also reviewed by Vitaly Davidovich

Reviewed-by: brutisso, dholmes, vlivanov, nloodin, mgerdin
2013-01-25 10:14:22 +01:00
Yunda
19303cc71d 8005278: Serviceability Agent: jmap -heap and jstack -m fail
BinaryTreeDictionary is typedef'ed as AFLBinaryTreeDictionary in vmStructs and in SA we still use old name for that. FreeList now is a template based class which is not reflect in SA type library. When SA does calculation of heap for CMS, the former will cause failure to retrieve BinaryTreeDictionary  sine the rename. The later will fail wherever it is used in SA.

Reviewed-by: dholmes, sla, coleenp
2013-01-24 23:30:45 -08:00
Serguei Spitsyn
020fe75e67 8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to
When constant pool is copied in merge_constant_pools the invokedynamic operands must be copied before.

Reviewed-by: coleenp, twisti
2013-01-24 22:13:32 -08:00
David Katleman
86f89a0768 Added tag jdk8-b74 for changeset 8d54b69d4504 2013-01-24 16:48:45 -08:00
Ioi Lam
27c881b2fb 8006280: Need to reorder metadata structures to reduce size (64-bit)
Reordered Klass, InstanceKlass and Method to save 8 bytes each

Reviewed-by: coleenp, jiangli
2013-01-24 10:57:38 -08:00
Krystal Mo
c06a8276fe Merge 2013-01-24 09:06:16 -08:00
Jon Masamitsu
354116da47 Merge 2013-01-24 06:04:43 -08:00
Krystal Mo
ae1a2f5e3c 8006758: LinkResolver assertion (caused by @Contended changes)
Treat anonymous classes as privileged code to restore the special handling for @Compiled during class file parsing

Reviewed-by: jrose, coleenp, kvn, dholmes
2013-01-24 02:03:38 -08:00