987 Commits

Author SHA1 Message Date
Coleen Phillimore
7225e6008d 8182848: Some functions misplaced in debug.hpp
Moved to vmError.hpp,cpp where they seemed more appropriate

Reviewed-by: stefank, stuefe
2017-06-28 19:12:58 -04:00
Harold Seigel
5e4cca403b 8182720: In InstanceKlass.cpp, get init_lock from handle
Replace init_lock() calls with h_init_lock() calls

Reviewed-by: sspitsyn, coleenp
2017-06-23 09:54:52 -04:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Vladimir Kozlov
dd676c3a98 8181823: [AOT] jaotc doesn't work with Graal
Add new flag to indicate when to calculate class fingerprint

Reviewed-by: iklam, iveresov
2017-06-21 10:28:27 -07:00
Roland Westrelin
698444f968 8181211: C2: Use profiling data to optimize on/off heap unsafe accesses
Reviewed-by: kvn
2017-06-09 10:51:52 +02:00
Jesper Wilhelmsson
a41f617837 Merge 2017-06-08 20:28:04 +02:00
George Triantafillou
39a08d3fd9 8166748: Clean out Windows IA64 support
Reviewed-by: kbarrett, coleenp, bobv, mdoerr
2017-06-08 13:17:51 -04:00
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00
Coleen Phillimore
6659245612 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Thomas Schatzl
4c944bd1ca 8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp
Reviewed-by: ehelin, coleenp, dholmes
2017-05-26 13:46:49 +02:00
Claes Redestad
4d1141ee1c 8180763: Improve inlining of Symbol::equals(char*,int) into CompactHashtable
Reviewed-by: iklam, jiangli
2017-05-24 12:42:44 +02:00
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
Lana Steuck
17961706b2 Merge 2017-05-11 20:23:29 +00:00
Lana Steuck
f50ba6cf4d Merge 2017-05-05 04:49:35 +00:00
Tobias Hartmann
2ee903d3ff 8180587: Assert in layout_helper_log2_element_size(jint) compares bits instead of bytes
Fixed assert to compare log2 element size in bytes.

Reviewed-by: zmajo, kvn
2017-05-19 08:36:49 +02:00
Coleen Phillimore
1c06346c45 8180325: Use ClassLoaderData::classes_do for CDS classes
Use closures and ClassLoaderData::classes_do instead of SystemDictionary::classes_do

Reviewed-by: iklam, jiangli
2017-05-16 19:36:55 -04:00
Vladimir Kozlov
063286a618 Merge 2017-05-12 13:14:25 -07:00
Harold Seigel
ca7bc471dd 8153646: Move vm/utilities/array.hpp to vm/oops
Move the header file and update the appropriate #include statements.

Reviewed-by: sspitsyn, dholmes
2017-05-10 08:37:17 -04:00
Stefan Johansson
72a8ea429e 8179550: Unify trace logging for InstanceRefKlass
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:04:06 +02:00
Stefan Johansson
50ded710fd 8138888: Remove ExtendedOopClosure::apply_to_weak_ref_discovered_field
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:03:45 +02:00
Rachel Protacio
eb6d311b66 8154791: Xlog classload too redundant msgs info/debug
Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code

Reviewed-by: iklam, dholmes
2017-05-08 09:45:24 -04: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
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00: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
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
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +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
Lana Steuck
b636d90917 Merge 2017-03-13 19:59:41 +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
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05: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
Harold Seigel
5b7ff7579c 8056900: Enhance NoClassDefFound exception messaging
Add text to the message explaining the cause of the exception

Reviewed-by: dholmes, sspitsyn, coleenp
2017-05-04 10:05:29 -04:00
Ioi Lam
c386cec7b1 8171392: Move Klass pointers outside of ConstantPool entries so ConstantPool can be read-only
Added _resolved_klasses; moved _resolved_references to ConstantPoolCache, etc.

Reviewed-by: coleenp, lfoltan, simonis, aph
2017-03-03 23:08:35 -08:00
Stefan Johansson
e237e703df 8138737: Remove oop_ms_adjust_pointers and use oop_iterate instead
Reviewed-by: kbarrett, stefank
2017-04-26 10:26:39 +02:00
Ioi Lam
3e3183a5a1 8178543: Optimize Klass::is_shared()
Reviewed-by: coleenp, jiangli
2017-04-14 08:33:57 -07:00
Ioi Lam
9d5b85daf4 8178350: klassVtable and klassItable should be ValueObj
Reviewed-by: coleenp
2017-04-13 01:56:01 -07:00
Jesper Wilhelmsson
dd358a3bac Merge 2017-04-24 21:34:24 +02:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Rachel Protacio
ca72444bf9 8176472: Lazily create ModuleEntryTable
Moved the unnamed module out of the ModuleEntryTable and into the ClassLoaderData so that the MET can be lazily created only when other modules are present. Also a smaller PackageTable size.

Reviewed-by: gtriantafill, hseigel, lfoltan, coleenp
2017-04-18 13:19:42 -04:00
Jesper Wilhelmsson
cc14920031 Merge 2017-04-06 22:58:55 +02: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