1027 Commits

Author SHA1 Message Date
Serguei Spitsyn
2cede6dbc1 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 19:20:38 -07:00
Coleen Phillimore
eba25b33b9 8152271: MemberNameTable doesn't purge stale entries
Intern MemberNames in table instead of allocating new entries

Reviewed-by: vlivanov, sspitsyn, dholmes
2016-06-15 09:48:24 -04:00
Jon Masamitsu
35ba62637e 8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
Reviewed-by: sjohanss, sangheki
2016-06-10 09:22:09 -07:00
Vladimir Kozlov
1246644d4d Merge 2016-06-10 10:13:30 -07:00
Doug Simon
39e5b15fdd 8156587: [JVMCI] remove Unsafe.getJavaMirror and Unsafe.getKlassPointer
Reviewed-by: kvn
2016-06-06 16:31:03 -07:00
Aleksey Shipilev
2137769825 8075030: JvmtiEnv::GetObjectSize reports incorrect java.lang.Class instance size
Reviewed-by: coleenp, sspitsyn, sla
2016-06-06 22:34:57 +03:00
Dmitry Fazunenko
acc40d57ab 8154096: Extend WhiteBox API with methods which retrieve from VM information about available GC
Reviewed-by: iignatyev, kbarrett
2016-05-30 19:56:27 +04:00
Coleen Phillimore
c36295e947 8145148: InterfaceMethod CP entry pointing to a class should cause ICCE
Pass tag in LinkInfo and check that resolved method type matches tag, fix tests.

Reviewed-by: sspitsyn, minqi
2016-05-27 10:52:39 -04:00
Kim Barrett
83dbb0faba 8156548: gc/gctests/StringInternSyncWithGC2 fails with Test level exit status: 151
Avoid repeated verification.

Reviewed-by: jmasa, drwhite
2016-05-25 13:46:05 -04:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03:00
Vladimir Ivanov
36daf60d8f Merge 2016-05-20 18:05:09 +03:00
Alejandro Murillo
7bd620bff1 Merge 2016-05-14 15:34:30 -07:00
Coleen Phillimore
178842d251 8155951: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151066: assert(0 <= i && i < length()) failed: index out of bounds

Lock classes for redefinition because constant pool merging isn't thread safe, use method constant pool because constant pool merging doesn't make equivalent cpCaches because of invokedynamic

Reviewed-by: sspitsyn, dholmes
2016-05-17 08:51:05 -04:00
Mandy Chung
2bbe02b202 8155977: ObjectInputStream::resolveClass & resolveProxyClass for platform loader
Reviewed-by: acorn, alanb, chegar, dfuchs
2016-05-12 11:16:16 -07:00
Josef Eisl
536db8741f 8156034: [JVMCI] Notify the jvmci compiler on completion of a bootstrap
Reviewed-by: twisti
2016-05-12 04:17:00 +00:00
Robbin Ehn
2523b1942a 8153535: Convert TraceRedefineClasses to Unified Logging
Reviewed-by: rprotacio, coleenp
2016-05-09 22:22:15 +02:00
Vladimir Ivanov
5dc9f56544 Merge 2016-05-09 13:13:07 +03:00
Vladimir Ivanov
622a5ae6f0 Merge 2016-05-06 18:20:50 +03:00
Alejandro Murillo
638bcd60aa Merge 2016-04-22 00:08:54 -07:00
Max Ockner
da0fe9d476 8154110: Update class* and safepoint* logging subsystems
Refactored logging tags in class and safepoint subsystems.

Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Vladimir Ivanov
84d06ff2d0 Merge 2016-04-29 14:17:34 +03:00
Gerard Ziemski
68e83181df Merge 2016-04-28 23:32:50 +00:00
Vladimir Ivanov
72747f47fd Merge 2016-04-29 02:13:40 +03:00
Serguei Spitsyn
cfe7bd538a Merge 2016-04-28 19:34:13 +00:00
Serguei Spitsyn
0c5f058520 8153190: JVMTI GetAllModules should make it clear that it also returns unnamed module
Clarify the JVMTI spec

Reviewed-by: alanb
2016-04-28 12:25:16 -07:00
Gerard Ziemski
41a3e98a61 8153835: Fix range of flag MaxDirectMemorySize which is parsed at jlong
Changed MaxDirectMemorySize type to uint64_t and set max to max_jlong

Reviewed-by: goetz, simonis
2016-04-28 10:41:53 -05:00
Serguei Spitsyn
367a7bd592 8153749: New capability can_generate_early_class_hook_events
Add new capability

Reviewed-by: alanb, dsamersoff
2016-04-28 00:36:46 -07:00
Robbin Ehn
d58feb9912 8154719: JvmtiBreakpoint rename method print() to print_on()
Reviewed-by: mlarsson, sla, sspitsyn
2016-04-26 10:58:03 +02:00
Rickard Bäckman
b853eb7f5c 8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00
Alejandro Murillo
f9426642c6 Merge 2016-04-22 01:04:00 -07:00
Bharadwaj Yadavalli
80a156e005 Merge 2016-04-21 15:59:07 -04:00
Per Liden
48892f6f68 8152949: Jigsaw crash when Klass in _fixup_module_field_list is unloaded
During start up anonymous classes must be kept alive until after their mirror's module field is patched with java.base

Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, hseigel
2016-04-21 09:23:04 -04:00
Bharadwaj Yadavalli
d61df5babe Merge 2016-04-19 15:26:59 -04:00
Kirill Zhaldybin
4ba6969ac6 8135200: Add White Box method that enumerates G1 old regions with less than specified liveness and collects statistics
Reviewed-by: tschatzl, dfazunen, iignatyev
2016-04-20 19:54:51 +03:00
Robbin Ehn
e61f2f7f5e 8154728: JvmtiExport::add_default_read_edges hits a guarantee
Reviewed-by: mgerdin, dholmes, stefank
2016-04-20 10:01:25 +02:00
Robbin Ehn
167be2a61c 8154059: JVMTI ObjectTagging to UL
Reviewed-by: sspitsyn, mlarsson
2016-04-19 14:21:26 +02:00
Robbin Ehn
9d7444952a 8154041: JVMTI trace to Unified Logging
Reviewed-by: sspitsyn, mlarsson
2016-04-19 14:14:04 +02:00
Robbin Ehn
e13ecd97b0 8154064: JVMTI trace event crashes
Reviewed-by: sla, stefank
2016-04-14 11:55:28 +02:00
Coleen Phillimore
8e63a10779 8148772: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151546: nsk/jvmti/RedefineClasses/StressRedefine fails in hs nightly

ConstantPool::resolve_constant_at_impl() isn't thread safe for MethodHandleInError and MethodTypeInError and Constant pool merging is not thread safe for source_file_name.

Reviewed-by: sspitsyn, dcubed
2016-04-13 12:57:31 -04:00
Nils Eliasson
90d0e9a566 8153013: BlockingCompilation test times out
Task has no invocation count and get stale at once

Reviewed-by: kvn, iveresov, twisti
2016-04-13 14:48:22 +02:00
Stefan Karlsson
f78228b2ee 8153967: Remove top.hpp
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Jesper Wilhelmsson
2497c61bc6 Merge 2016-04-11 20:16:35 +02:00
Coleen Phillimore
6cec4d5047 Merge 2016-04-09 08:34:51 -04:00
Coleen Phillimore
e9a1251fb3 8033735: make Throwable.backtrace visible to Class.getDeclaredField again
Removed old hack to workaround an old crash.

Reviewed-by: hseigel, twisti, mchung
2016-04-08 19:39:32 -04:00
Bharadwaj Yadavalli
cecf2d83d5 Merge 2016-04-08 12:36:27 -04:00
Brent Christian
2d2abce433 8153123: Streamline StackWalker code
Reviewed-by: coleenp, dfuchs, mchung, redestad
2016-04-08 12:26:29 -07:00
Daniel D. Daugherty
4397e85e26 Merge 2016-04-07 09:47:48 -07:00
Tobias Hartmann
63403a410e 8154073: Several compiler tests fail when are executed with C1 only
Added missing flag checks to the tests and Whitebox API.

Reviewed-by: kvn
2016-04-14 08:32:39 +02:00
Bharadwaj Yadavalli
b2ead5ac2d Merge 2016-04-12 14:17:42 -04:00
Filipp Zhinkin
6b6686bd43 8149374: Replace C1-specific collection classes with universal collection classes
Reviewed-by: kvn, mgerdin, coleenp
2016-04-06 18:51:03 +03:00