148 Commits

Author SHA1 Message Date
Max Ockner
ce74c2fa3c Merge 2016-02-03 18:16:54 +01:00
Max Ockner
9cab990401 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Jesper Wilhelmsson
54d0181916 Merge 2016-01-14 17:36:29 +01:00
David Lindholm
ad0c208a5a 8146690: Make all classes in GC follow the naming convention
Reviewed-by: dholmes, stefank
2016-01-14 13:26:19 +01:00
Christian Thalinger
148c6a3e77 8146246: JVMCICompiler::abort_on_pending_exception: assert(!thread->owns_locks()) failed: must release all locks when leaving VM
Reviewed-by: coleenp, kvn
2016-01-12 10:44:41 -10:00
Christian Thalinger
066e504bba 8145435: [JVMCI] some tests on Windows fail with: assert(!thread->is_Java_thread()) failed: must not be java thread
Reviewed-by: never, dnsimon, dholmes, coleenp
2015-12-23 07:27:42 -10:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Vladimir Ivanov
419a331a48 8144024: Octane fails with "memory leak: allocating handle outside HandleMark"
Reviewed-by: kvn
2015-11-25 21:31:33 +03:00
Mandy Chung
2b732b223e 8143911: Reintegrate JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-24 14:59:17 -08:00
Christian Tornqvist
130ba226a1 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:11 -08:00
Mandy Chung
bf9af24b55 8140450: Implement JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-23 12:44:43 -08:00
Vladimir Ivanov
1cfbe2dec5 8139595: MethodHandles::remove_dependent_nmethod is not MT safe
Reviewed-by: jrose, coleenp
2015-11-18 03:03:43 +03:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Coleen Phillimore
fc03719078 8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses

Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.

Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Coleen Phillimore
5179fc3488 8139163: InstanceKlass::cast passes through NULL
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null

Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Coleen Phillimore
f1e89ea4cc 8140274: methodHandles and constantPoolHandles should be passed as const references
Modified code to use const reference parameters

Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
David Lindholm
5770f4eb32 8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files

Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
Nils Eliasson
559bf7ef6e 8135067: Preparatory refactorings for compiler control
Extract CompileTask and clean up

Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Coleen Phillimore
d7eb22156b Merge 2015-07-23 22:31:10 -04:00
Coleen Phillimore
77edd5baad 8087315: SIGBUS error in nsk/jvmti/RedefineClasses/StressRedefine
Need to get source_file_name from the_class's constant pool not previous version constant pool

Reviewed-by: dcubed, sspitsyn
2015-07-23 15:18:56 -04:00
Vladimir Kempik
6ab7533af1 8048353: jstack -l crashes VM when a Java mirror for a primitive type is locked
Reviewed-by: coleenp, dcubed
2015-07-20 18:57:07 +03:00
Zoltan Majo
9245cdc214 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Vladimir Ivanov
aae5102c06 8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp
2015-05-29 17:04:21 +03:00
Vladimir Ivanov
3f096651f3 8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
2015-05-21 18:22:33 +03:00
Vladimir Ivanov
e5a92a9fb9 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:11 +03:00
Bharadwaj Yadavalli
f8d0a6ff28 Merge 2015-04-30 18:14:58 -04:00
Serguei Spitsyn
f7c143cbb2 8073705: more performance issues in class redefinition
Optimize the method pointer adjustments for prev klass versions and MNT

Reviewed-by: dcubed, coleenp
2015-04-27 19:51:00 -07:00
Cheleswer Sahu
f93a647092 8072863: Replace fatal() with vm_exit_during_initialization() when an incorrect class is found on the bootclasspath
Reviewed-by: dholmes, coleenp
2015-04-13 23:04:02 -07:00
Vladimir Ivanov
f98a23137c 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:17:06 +03:00
Serguei Spitsyn
cc2bb40bf3 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Use method cpref and klass version to provide meaningful methods name in stacktraces

Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Jesper Wilhelmsson
3c3e60d5be Merge 2014-11-26 18:01:10 +01:00
Coleen Phillimore
4151db8bfd 8042235: redefining method used by multiple MethodHandles crashes VM
Note all MemberNames created on internal list for adjusting method entries.

Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Aleksey Shipilev
f8712e7800 8059677: Thread.getName() instantiates Strings
Reviewed-by: coleenp, dholmes, sla
2014-11-13 01:57:09 +03:00
Stefan Karlsson
95704b233c 8064811: Use THREAD instead of CHECK_NULL in return statements
Reviewed-by: coleenp, simonis, dholmes
2014-11-14 09:47:09 +01:00
Coleen Phillimore
ae9681a5cf 8058927: ATG throws ClassNotFoundException
ClassLoader for array klass set to null and not the class loader of the component type.

Reviewed-by: dcubed, ctornqvi
2014-09-26 12:50:30 -04:00
Coleen Phillimore
73d759e533 8049105: Move array component mirror to instance of java/lang/Class (hotspot part 2)
This removes component mirrors from arrayKlass metadata and the C2 intrinsic for them.

Reviewed-by: kvn, twisti, mgerdin
2014-08-28 11:29:09 -04:00
Coleen Phillimore
3f0a945468 8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
Remove bcx and mdx handling.  We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.

Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
Coleen Phillimore
06cea98803 8048933: -XX:+TraceExceptions output should include the message
Add the exception detail message to the tracing output

Reviewed-by: minqi, dholmes
2014-07-09 22:37:48 -04:00
Coleen Phillimore
60ec6dfa0c 8047737: Move array component mirror to instance of java/lang/Class
Add field in java.lang.Class for componentType to simplify oop processing in JVM

Reviewed-by: fparain, twisti
2014-07-02 15:22:18 -04:00
Coleen Phillimore
d8ce93cea5 6642881: Improve performance of Class.getClassLoader()
Add classLoader to java/lang/Class instance for fast access

Reviewed-by: alanb, lfoltan, rriggs, vlivanov, twisti, jfranck
2014-06-19 14:49:33 -04:00
Harold Seigel
b6a2f946f6 8031819: Remove legacy jdk checks and code
Delete old jdk specific code.

Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04:00
Coleen Phillimore
388434f387 Merge 2014-05-12 09:47:57 -04:00
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Gerard Ziemski
ed9c096396 8038654: Separate SymbolTable and StringTable code
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.

Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Christian Thalinger
78bfdda141 Merge 2014-05-02 19:00:04 -07:00