Coleen Phillimore
1457155505
8168699: Validate special case invocations
...
Reviewed-by: acorn, kvn, lfoltan, ctornqvi, ahgross, vlivanov
2016-12-01 14:21:31 -05:00
Rachel Protacio
9c6128c943
8169734: Update uses of string "java.base" to macro
...
Replaced instances of "java.base" string with JAVA_BASE_NAME macro
Reviewed-by: sspitsyn, dcubed
2016-12-05 16:08:20 -05:00
Alan Bateman
988690303a
8169069: Module system implementation refresh (11/2016)
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
Ioi Lam
7624f76c84
8169867: Method::restore_unshareable_info does not invoke Method::link_method
...
Reviewed-by: jiangli, kvn, thartmann
2016-11-27 19:58:30 -08:00
Harold Seigel
3af1da4533
8176705: Remove static functions in InstanceKlass
...
Change static functions to instance functions and remove their 'this_k' parameters.
Reviewed-by: dholmes, mgerdin, iklam
2017-03-21 11:25:18 -04:00
Coleen Phillimore
4b9562288f
8155672: Remove instanceKlassHandles and KlassHandles
...
Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.
Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn
2017-03-15 10:25:37 -04:00
Coleen Phillimore
35e8433c1c
Merge
2017-03-14 14:07:24 -04:00
Ioi Lam
f5777dc9bd
8005165: Remove CPU-dependent code in self-patching vtables
...
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
Bob Vandette
929fc23c45
Merge
2017-02-24 12:41:26 -05:00
Coleen Phillimore
0b3bc5c4f0
8169881: Remove implicit Handle conversions oop->Handle
...
Pass THREAD to Handle as argument instead of implicit Thread::current() call.
Reviewed-by: dholmes, sspitsyn
2017-02-15 22:59:57 -05:00
Coleen Phillimore
5a2d8cb819
8140685: Fix backtrace building to not rely on constant pool merging
...
Store Symbol* for the name in the backtrace
Reviewed-by: gtriantafill, dholmes, kbarrett, lfoltan
2017-02-01 17:56:22 -05:00
Nils Eliasson
1134c66f5e
8166377: is_compiled_by_jvmci hot in some profiles - improve nmethod compiler type detection
...
Refactor code removing virtual call
Reviewed-by: kvn, twisti
2016-10-21 20:12:47 +02:00
Ioi Lam
1f18dde1d8
8166203: NoClassDefFoundError should not be thrown if class is in_error_state at link time
...
Reviewed-by: coleenp, dholmes, sspitsyn
2016-10-20 13:41:07 -07:00
Coleen Phillimore
04bc07be95
8164921: Memory leaked when instrumentation.retransformClasses() is called repeatedly
...
Return Metablocks smaller than dictionary's dark matter.
Co-authored-by: Jon Masamitsu <jon.masamitsu@oracle.com>
Reviewed-by: mgerdin, sspitsyn, dsamersoff
2016-10-18 08:39:43 -04:00
Tobias Hartmann
4bb6761600
8153134: Infinite loop in handle_wrong_method in jmod
...
Use Patching_lock to synchronize access between set_code() and clear_code().
Reviewed-by: kvn, dlong
2016-10-18 09:43:12 +02:00
Vladimir Kozlov
28c75424e3
Merge
2016-10-14 08:54:02 -07:00
Roland Schatz
067a31e839
Merge
2016-10-03 19:09:26 +00:00
Roland Schatz
f79d9adc24
8166781: fix wrong comment in ReceiverTypeData
...
Reviewed-by: kvn
2016-10-03 17:54:28 +00:00
Kim Barrett
c0c4200524
8166583: Add oopDesc::klass_or_null_acquire()
...
Added new function.
Reviewed-by: dholmes, tschatzl
2016-09-23 18:23:12 -04:00
Kirill Zhaldybin
0581d8c4cb
8165613: Convert TestKlass_test to Gtest
...
Reviewed-by: coleenp, rehn
2016-09-16 19:49:03 +03:00
Coleen Phillimore
e57692c642
8163969: Cyclic interface initialization causes JVM crash
...
Fix interface initialization to follow spec: interface initializations do not set initialization state of interfaces that extend them.
Reviewed-by: dholmes, acorn, lfoltan
2016-09-21 09:56:18 -04:00
Kirill Zhaldybin
4eab390a81
8165601: Convert arrayOopDesc_test to Gtest
...
Reviewed-by: coleenp, iignatyev
2016-09-08 18:41:10 +03:00
Lois Foltan
368585d0db
8163406: The fixup_module_list must be protected by Module_lock when inserting new entries
...
In java_lang_Class::create_mirror, restructure the check for adding a class to the fixup_module_list, guarded by Module_lock.
Reviewed-by: acorn, coleenp, dholmes, zgu
2016-09-19 12:04:28 -04:00
Jiangli Zhou
eb52950704
8078644: CDS needs to support JVMTI CFLH
...
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.
Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04:00
Kim Barrett
b77d0de3d9
8165808: Add release barriers when allocating objects with concurrent collection
...
Add release_set_klass, use in slow-path allocators.
Reviewed-by: jmasa, dholmes
2016-09-15 12:10:43 -04:00
Dean Long
45204fc0bf
Merge
2016-09-08 23:43:45 -04:00
Coleen Phillimore
3c2621dbdd
8165246: [REDO] InstanceKlass::_previous_version_count goes negative
...
Make _has_previous_version a boolean that is set to true when previous version of a class is added or during class unloading call to purge_previous_versions
Reviewed-by: gtriantafill, dcubed, sspitsyn
2016-09-07 15:25:21 -04:00
Harold Seigel
e8e6415b7a
8058575: IllegalAccessError trying to access package-private class from VM anonymous class
...
Put anonymous classes in unnamed package into host class's package. Throw exception if host class's package differs from anonymous class.
Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Dean Long
2baffbf490
8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links
...
Process previous versions in Klass::clean_weak_klass_links()
Reviewed-by: coleenp, sspitsyn, stefank, dcubed
2016-08-31 12:10:40 -07:00
Coleen Phillimore
f03ab592cc
8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
...
Reviewed-by: dcubed
2016-09-01 18:02:13 -04:00
Coleen Phillimore
31d8fcc4f9
8164692: InstanceKlass::_previous_version_count goes negative
...
Decrement previous_version_count when it's removed from the list.
Reviewed-by: dcubed, dlong, sspitsyn
2016-08-31 06:35:19 -04:00
Kim Barrett
66706edf15
8156500: Move Reference pending list into VM to prevent deadlocks
...
Move reference pending list and locking into VM
Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:48:16 -04:00
David Holmes
6db26ca5bf
8158854: Ensure release_store is paired with load_acquire in lock-free code
...
Reviewed-by: shade, dcubed, zgu
2016-08-29 20:13:45 -04:00
Igor Veresov
2b1aa4e8ae
Merge
2016-08-26 14:47:52 -07:00
Ioi Lam
e710f3bd8b
8161280: assert failed: reference count underflow for symbol
...
Reviewed-by: dholmes, coleenp, kbarrett
2016-08-26 06:37:34 -07:00
Doug Simon
da1655a009
8163864: [JVMCI] move MethodProfileWidth to jvmci_globals.hpp
...
Reviewed-by: zmajo
2016-08-22 19:29:15 +00:00
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Igor Veresov
2ad60b9910
Merge
2016-08-19 14:33:52 -07:00
Karen Kinnear
3b21f492f9
8163808: Fix asserts and logging for old classfile vtable construction
...
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Tobias Hartmann
be08874935
8164091: VM fails during startup with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked"
...
Don't throw java_lang_VirtualMachineError during VM initialization.
Reviewed-by: zmajo, dlong, dholmes
2016-08-17 08:19:06 +02:00
Chris Plummer
f108319ee4
8161030: GPL header missing comma after year
...
Added comma.
Reviewed-by: coleenp, fparain
2016-08-03 13:56:27 -07:00
Coleen Phillimore
8f37b6e451
8161445: [BACKOUT] MemberNameTable doesn't purge stale entries
...
Original change caused performance regression in microbenchmarks after GC
Reviewed-by: dholmes, ecaspole
2016-08-01 16:28:23 -04:00
Karen Kinnear
9c928767ba
8162340: Better class stream parsing
...
Check platform and boot loader for java/* packages
Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:31:48 -04:00
Alejandro Murillo
15fafcc1fc
Merge
2016-07-22 04:05:04 +00:00
Calvin Cheung
0bcdf4f154
8161539: 8159666 breaks minimal VM
...
Replaces the shouldNotReachHere() with an assert
Reviewed-by: coleenp, dholmes, cjplummer, gziemski
2016-07-21 19:29:33 -07:00
David Holmes
d1856645bc
8081800: AbstractMethodError when evaluating a private method in an interface via debugger
...
Reviewed-by: acorn, dcubed, coleenp
2016-10-03 21:48:21 -04:00
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