Derek White
2e1b011569
8158946: btree009 fails with assert(s > 0) failed: Bad size calculated
...
Set oop_size before setting _klass
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2016-07-05 15:34:06 -04:00
Vladimir Kozlov
634a7fdebc
Merge
2016-06-24 15:09:00 -07:00
Alex Henrie
4abb5e4aaf
8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior
...
Replace shifts of -1 with shifts of ~0u.
Reviewed-by: kbarrett, mockner
2016-06-23 16:46:41 -04:00
Ioi Lam
79377a1bf1
8159666: Better CDS support for Event-based tracing
...
Reviewed-by: jiangli, mgronlun
2016-06-20 22:02:20 -07:00
Coleen Phillimore
00314964d6
8159470: Error message for ICCE for MethodHandle constant pool not helpful
...
Reworded message and added test.
Reviewed-by: hseigel, gtriantafill, dholmes
2016-06-20 12:28:14 -04: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
Max Ockner
680e1a3a28
8157490: JCK test vm/jni/DefineClass/dfcl001/dfcl00101m1/dfcl00101m1 crashes when run with -Xlog:classload=info
...
Null stream->source() no longer causes error with -Xlog:class+load
Reviewed-by: lfoltan, coleenp
2016-06-13 13:47:21 -04:00
Zoltan Majo
cdc436922a
8157181: Compilers accept modification of final fields outside initializer methods
...
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).
Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +02:00
David Holmes
c301fb7188
8154750: Add missing OrderAccess operations to ClassLoaderData lock-free data structures
...
Reviewed-by: kbarrett, coleenp, acorn
2016-06-02 23:37:09 -04:00
Rachel Protacio
e956abefe6
8153858: Clean up needed when obtaining the package name from a fully qualified class name
...
Consolidated and refactored code parsing fully qualified names. Includes gtest.
Reviewed-by: dholmes, coleenp
2016-06-07 11:39:47 -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
Gerard Ziemski
f1c490f5fa
8152856: Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X
...
Implement _lh_array_tag_type_value as const, not enum.
Reviewed-by: vlivanov, minqi
2016-05-24 12:42:43 -05:00
Vladimir Ivanov
3221da3cf7
Merge
2016-05-24 14:13:57 +03: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
Vladimir Ivanov
d14a64b0ed
Merge
2016-05-11 00:38:58 +03:00
Robbin Ehn
2523b1942a
8153535: Convert TraceRedefineClasses to Unified Logging
...
Reviewed-by: rprotacio, coleenp
2016-05-09 22:22:15 +02:00
Goetz Lindenmaier
1e4b00b1dc
8140594: Various minor code improvements (compiler)
...
Various minor code improvements (compiler)
Reviewed-by: thartmann, kvn
2016-05-03 12:23:06 +02:00
Jiangli Zhou
34fe707dad
8155678: ClassLoader::initialize_module_loader_map should only be called when dumping CDS archive
...
Make ClassLoader::initialize_module_loader_map explicitly CDS dump time only.
Reviewed-by: ccheung, lfoltan
2016-05-04 17:32:08 -04:00
Stefan Karlsson
f8be292b88
8141501: Problems with BitMap buffer management
...
Reviewed-by: pliden, kbarrett
2016-05-03 22:45:27 +02: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
72747f47fd
Merge
2016-04-29 02:13:40 +03:00
Rachel Protacio
09add35155
8152844: JVM InstanceKlass Methods For Obtaining Package/Module Should Be Moved to Klass
...
Converted package() and module() functions to pure virtual functions of Klass
Reviewed-by: dholmes, coleenp, lfoltan, hseigel
2016-04-26 09:08:12 -04: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
Chris Plummer
7cd3700010
8148195: Some InstanceKlass and MethodCounters fields can be excluded when JVMTI is not supported
...
Removed "previous version", "cached class file", and breakpoint related fields and code when JVMTI is not supported
Reviewed-by: coleenp, sspitsyn
2016-04-21 20:49:11 -07:00
Bharadwaj Yadavalli
d61df5babe
Merge
2016-04-19 15:26:59 -04:00
Coleen Phillimore
50a5ba9849
Merge
2016-04-13 23:31:40 +00: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
Derek White
8423e2c392
8149405: OOM Error running java/lang/invoke/MethodHandlesTest.java on windows-x86
...
Add missing ResourceMarks to release memory more quickly.
Reviewed-by: jmasa, kbarrett
2016-04-12 14:46:02 -04:00
Stefan Karlsson
f78228b2ee
8153967: Remove top.hpp
...
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Max Ockner
da8b3bf9a7
Merge
2016-04-12 00:24:39 +02:00
Jesper Wilhelmsson
2497c61bc6
Merge
2016-04-11 20:16:35 +02:00
Max Ockner
ac0824cbad
8152468: PrintMiscellaneous in constantPool should use classresolve logging
...
Some instances of PrintMiscellaneous have ben replaced by classresolve logging.
Reviewed-by: coleenp, rprotacio
2016-04-11 11:33:52 -04:00
Bharadwaj Yadavalli
cecf2d83d5
Merge
2016-04-08 12:36:27 -04:00
Calvin Cheung
28edd79d64
8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
...
This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: dlong, iklam, jiangli
2016-04-07 22:03:04 -07:00
Daniel D. Daugherty
4397e85e26
Merge
2016-04-07 09:47:48 -07: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
Joseph Provino
5cef85023b
8132524: Missing includes to resourceArea.hpp
...
Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Chris Plummer
fbe049838a
8148639: Some MethodCounter fields can be excluded when not including C2
...
Removed _interpreter_invocation_count and _interpreter_throwout_count fields for C1
Reviewed-by: kvn, coleenp
2016-03-30 09:52:02 -07:00
Zoltan Majo
720f99dec9
Merge
2016-03-24 16:21:18 +01:00
Paul Sandoz
ab69113c5e
8149644: Integrate VarHandles
...
Reviewed-by: kvn, vlivanov
2016-03-24 11:21:49 +01:00
Stefan Karlsson
15c4140ae5
8152632: Rename LogHandle(...) to Log(...)
...
Reviewed-by: brutisso, mlarsson, rprotacio
2016-04-04 09:15:15 +02:00
Jesper Wilhelmsson
ee442d71e1
Merge
2016-04-02 05:39:25 +02:00
Max Ockner
e721b555eb
Merge
2016-03-29 20:51:59 +02:00
Max Ockner
45b8dc27fe
8150084: Convert TraceMonitorMismatch to Unified Logging
...
TraceMonitorMismatch has been converted to Unified Logging.
Reviewed-by: coleenp, rprotacio
2016-03-29 14:37:07 -04:00
Jesper Wilhelmsson
b7ca1e57ee
Merge
2016-03-23 23:36:29 +01:00
Rachel Protacio
0f7f8e05ab
8146947: Remove PrintOopAddress rather than converting to UL
...
Deprecated PrintOopAddress and made functionality default
Reviewed-by: coleenp, stefank
2016-03-24 13:25:10 -04:00
Zoltan Majo
3edb7b95ba
Merge
2016-03-23 15:01:42 +01:00
Chris Hegarty
9978f9b065
Merge
2016-03-22 17:04:25 +00:00