Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Coleen Phillimore
472622d900
8031820: NPG: Fix remaining references to metadata as oops in comments
...
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Vladimir Ivanov
38d80b03c4
8023461: Thread holding lock at safepoint that vm can block on: MethodCompileQueue_lock
...
Reviewed-by: kvn, iveresov
2014-03-11 15:06:34 +04:00
Igor Veresov
54db2c2d61
8032463: VirtualDispatch test timeout with DeoptimizeALot
...
Introduce code aging for warm method detection
Reviewed-by: kvn, twisti
2014-05-13 11:32:10 -07:00
Christian Thalinger
1a1f9f0871
8037043: put Method flag bits in predictable positions
...
Reviewed-by: kvn, coleenp
2014-03-11 14:54:47 -07:00
Nils Eliasson
f457cabe80
Merge
2014-03-11 11:26:14 -04:00
Roland Westrelin
38fd717c30
8035841: assert(dp_src->tag() == dp_dst->tag()) failed: should be same tags 1 != 0 at ciMethodData.cpp:90
...
Concurrent update of traps with construction of ciMethodData
Reviewed-by: kvn, twisti
2014-03-05 09:29:12 +01:00
Coleen Phillimore
1a95f3a409
8035735: Metaspace::contains become extremely slow in some cases
...
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.
Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Dmitry Samersoff
e1998b8813
Merge
2014-03-01 01:36:48 -08:00
Morris Meyer
c696dd6700
Merge
2014-02-28 08:02:20 -08:00
Erik Helin
000c4d9734
Merge
2014-02-28 14:56:04 +01:00
Stefan Karlsson
959bdfb211
8035746: Add missing Klass::oop_is_instanceClassLoader() function
...
Reviewed-by: mgerdin, coleenp
2014-02-27 10:36:50 +01:00
Stefan Karlsson
ba2326e19f
8035648: Don't use Handle in java_lang_String::print
...
Reviewed-by: coleenp, pliden
2014-02-27 10:34:55 +01:00
Staffan Larsen
e1e850a132
8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
...
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Jaroslav Bachorik
2b75897176
4505697: nsk/jdi/ExceptionEvent/_itself_/exevent006 and exevent008 tests fail with InvocationTargetException
...
Reviewed-by: dcubed, dholmes, sspitsyn
2014-02-24 10:28:22 +01:00
Vladimir Kozlov
4200d0d095
Merge
2014-02-20 12:20:56 -08:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Staffan Larsen
43b711ea78
8034080: Remove the USDT1 dtrace code from Hotspot
...
Reviewed-by: dholmes, coleenp
2014-02-18 09:15:40 +01:00
Coleen Phillimore
4ab0b2732c
8027146: Class loading verification failure if GC occurs in Universe::flush_dependents_on
...
Remove search in system dictionary and hacks, replace with verifying in CLD::_klasses list.
Reviewed-by: dcubed, acorn
2014-02-15 13:03:38 -05:00
Nils Eliasson
cde5c5862b
8034188: OSR methods may not be recompiled at proper compilation level
...
Remove_osr_nmethod doesn't check that it is the correct method
Reviewed-by: kvn, iveresov
2014-02-11 13:29:53 +01:00
Roland Westrelin
493557fc90
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
...
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.
Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Yumin Qi
a90e842e0c
8033792: AltHashing used jint for imprecise bit shifting
...
AltHashing used jint the way of juint in bit shifting which could lead loss of precision. Fix by change _seed defined as juint.
Reviewed-by: coleenp, ccheung
2014-02-10 21:29:14 -08:00
Coleen Phillimore
2759eb10ae
8033528: assert(0 <= i && i < length()) failed: index out of bounds
...
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.
Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Erik Helin
4b802a6d31
Merge
2014-01-30 14:01:45 +01:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Coleen Phillimore
305d2f27f1
8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
...
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.
Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Morris Meyer
a665235538
Merge
2014-01-10 12:54:08 -08:00
David Simms
6005ba852d
8029858: Enhance array copies
...
Just read the source element once
Reviewed-by: coleenp, ahgross
2014-01-10 15:58:40 +01:00
Coleen Phillimore
469f290817
8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
...
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.
Reviewed-by: mgerdin, sspitsyn, jmasa
2014-01-07 13:26:56 -05:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Harold Seigel
4856bd53aa
8027804: JCK resolveMethod test fails expecting AbstractMethodError
...
Create AME overpass methods and fix method search logic
Reviewed-by: kamg, acorn, lfoltan, coleenp
2013-12-16 08:24:33 -05:00
David Chase
da079783f8
8029351: assert(bt != T_OBJECT) failed: Guard is incorrect in VM:defmeth
...
Replace test condition with reference to the proper predicate, encode folk wisdom into an assert
Reviewed-by: twisti, coleenp
2013-12-12 15:11:35 -05:00
Vladimir Kozlov
3b4f167e54
Merge
2013-12-12 11:05:39 -08:00
Stefan Johansson
5f4d0e9c25
8028993: Full collections with ParallelScavenge slower in JDK 8 compared to 7u40
...
Reducing the number of calls to follow_class_loader to speed up the marking phase. Also removed some unnecessary calls to adjust_klass.
Reviewed-by: stefank, jmasa, mgerdin
2013-12-10 10:31:00 +01:00
Erik Helin
865adecf33
Merge
2013-12-05 17:49:55 +01:00
Karen Kinnear
536943884a
8028438: static superclass method masks default methods
...
Reviewed-by: hseigel, lfoltan, coleenp
2013-12-03 11:13:14 -08:00
Erik Helin
aba1a79d81
Merge
2013-12-02 15:43:04 +01:00
Goetz Lindenmaier
46c4ef6572
8029396: PPC64 (part 212): Several memory ordering fixes in C-code
...
Memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp
2013-12-02 10:26:14 +01:00
Vladimir Kozlov
1b2bf0be10
Merge
2013-12-05 15:13:12 -08:00
David Chase
4620107099
Merge
2013-11-29 11:32:45 -05:00
David Chase
78f1afbf45
8016839: JSR292: AME instead of IAE when calling a method
...
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.
Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
Lois Foltan
28557bc30e
8026065: InterfaceMethodref for invokespecial must name a direct superinterface
...
Add verification to check that invokespecial of an InterfaceMethodref names a method in a direct superinterface of the current class or interface in accordance with JSR 335, JVMS 4.9.2 Structural Constraints.
Reviewed-by: acorn, hseigel, coleenp
2013-11-26 09:52:22 -05:00
Stefan Johansson
22478ae2e0
8027675: Full collections with Serial slower in JDK 8 compared to 7u40
...
Reduced the number of calls to follow_class_loader and instead marked and pushed the klass holder directly. Also removed unneeded calls to adjust_klass.
Reviewed-by: coleenp, jmasa, mgerdin, tschatzl
2013-11-26 14:35:38 +01:00
Vladimir Kozlov
aabed3781b
Merge
2013-11-21 12:30:35 -08:00
Volker Simonis
86fba81619
8028514: PPC64: Fix C++ Interpreter after '7195622: CheckUnhandledOops has limited usefulness now'
...
Fix CPP-interpreter after CheckUnhandledOops was re-enabled in the fastdebug build
Reviewed-by: kvn, dholmes, lfoltan
2013-11-19 11:53:58 -08:00
David Chase
19a06cc147
Merge
2013-11-14 15:58:12 -05:00
Coleen Phillimore
0ff8fc93db
8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field change
...
Create extra constant pool cache entries for invokespecial/InterfaceMethodref to hold the alternate resolution.
Reviewed-by: jrose, lfoltan, hseigel
2013-11-13 16:42:24 -05:00
Karen Kinnear
4b35aa3d1e
8027229: ICCE expected for >=2 maximally specific default methods
...
Need to process defaults for interfaces for invokespecial
Reviewed-by: lfoltan, hseigel, coleenp, jrose
2013-11-13 07:31:26 -08:00