Tobias Hartmann
bbe61a3c5d
8180565: Null pointer dereferences of ConstMethod::method()
...
We need to check ConstMethod::method() for NULL before dereferencing.
Reviewed-by: kvn, iignatyev
2017-05-22 09:14:10 +02:00
Alan Bateman
aefdcda532
8178380: Module system implementation refresh (5/2017)
...
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
2017-05-04 07:26:28 +00:00
Coleen Phillimore
1457155505
8168699: Validate special case invocations
...
Reviewed-by: acorn, kvn, lfoltan, ctornqvi, ahgross, vlivanov
2016-12-01 14:21:31 -05:00
Igor Veresov
767a994f9c
8176887: AOT: SIGSEGV in AOTCodeHeap::next when using specific configuration
...
Derive MethodCounters from Metadata
Reviewed-by: kvn, coleenp
2017-04-11 11:34:20 -07:00
Andrew Haley
7b865d0e66
8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
...
Reviewed-by: kbarrett, coleenp
2017-04-07 13:42:00 +01:00
Alan Bateman
a3ab143c64
8177530: Module system implementation refresh (4/2017)
...
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Alan Bateman
73165d34e4
8174823: Module system implementation refresh (3/2017)
...
Reviewed-by: sspitsyn, dholmes, lfoltan, mchung
2017-03-22 16:26:09 +00:00
Kevin Walls
e477609f73
8162795: [REDO] MemberNameTable doesn't purge stale entries
...
Re-application of the change in JDK-8152271.
Reviewed-by: coleenp, sspitsyn
2017-02-21 02:27:01 -08:00
Doug Simon
8c46b8e160
8173278: [JVMCI] query_update_method_data might write outside _trap_hist array
...
Reviewed-by: kvn
2017-01-26 05:53:14 -08:00
Jamsheed Mohammed C M
197ce5bafa
8166002: Emulate client build on platforms with reduced virtual address space
...
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.
Reviewed-by: kvn, iveresov
2017-01-17 21:38:07 -08:00
Markus Grönlund
2bc33c2996
8171960: Event-based tracing needs separate flag representation for Method
...
Reviewed-by: hseigel, gtriantafill, dholmes
2017-01-17 16:18:03 +01:00
Ioi Lam
482d791b2c
8170959: unloading archived shared class caused crash
...
Reviewed-by: coleenp, sspitsyn, mockner
2017-01-08 10:39:42 -08:00
Bharadwaj Yadavalli
2841c5eb2b
8171008: Integrate AOT compiler into JDK
...
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Jesper Wilhelmsson
65ae405a5b
Merge
2016-12-08 17:03:45 +01:00
Jesper Wilhelmsson
5597cd6698
Merge
2016-12-08 15:49:29 +01:00
Markus Grönlund
6a685f1d63
8170672: Event-based tracing to support classloader instances
...
Reviewed-by: hseigel, egahlin
2016-12-06 22:49:17 +01: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
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