Jesper Wilhelmsson
25c41c6094
Merge
2015-05-21 21:17:56 +02: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
Serguei Spitsyn
99f8091782
8079644: memory stomping error with ResourceManagement and TestAgentStress.java
...
The cached class file structure must be deallocated instead of the cached class file bytes
Reviewed-by: coleenp, sla
2015-05-18 16:42:46 -07:00
Jesper Wilhelmsson
f64e5038a4
Merge
2015-05-18 17:09:47 +02: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
Michael Haupt
b15af202c5
8030680: 292 cleanup from default method code assessment
...
Small code improvements for increased robustness
Reviewed-by: acorn, coleenp
2015-05-08 14:00:24 -04: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
Christian Thalinger
8cb760c280
8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
...
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:41 -07:00
Zoltan Majo
a452b030ce
8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
...
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.
Reviewed-by: kvn, roland, dlong, enevill, shade
2015-04-27 10:49:43 +02:00
Calvin Cheung
7bb3af5d16
Merge
2015-04-17 14:37:20 -07:00
Vladimir Kozlov
b9c00b1904
Merge
2015-04-16 14:05:48 -07:00
Michael Haupt
1cbf641d91
8076461: JSR292: remove unused native and constants
...
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:10 +03:00
Vladimir Ivanov
ce40bf07b2
8057919: Class.getSimpleName() should work for non-JLS compliant class names
...
Reviewed-by: dholmes, jrose
2015-04-14 18:03:43 +03: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
Serguei Spitsyn
89256b01cb
8066679: jvmtiRedefineClasses.cpp assert cache ptrs must match
...
Remove the assert and deallocate cashed class file bytes that are in collision
Reviewed-by: coleenp, dcubed
2015-04-07 20:18:28 -07:00
Thomas Stuefe
704c02a180
8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
...
Add __try/__except around JNI_CreateJavaVM
Reviewed-by: mgronlun, dcubed
2015-04-03 05:55:33 -04:00
Jesper Wilhelmsson
7ec8aadd33
Merge
2015-04-09 17:39:42 +02:00
Thomas Schatzl
0a0a22f7ea
8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
...
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.
Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Kirill Zhaldybin
7028386046
8043225: Make whitebox API functions more stable
...
Added checks for null parameters where applicable
Reviewed-by: dholmes, iignatyev
2015-04-02 18:53:45 +03:00
Andrew Haley
1dfbc44c1f
8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
...
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.
Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Tobias Hartmann
f41f86bff1
8075214: SIGSEGV in nmethod sweeping
...
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.
Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:54:23 +02: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
Jesper Wilhelmsson
5f5b27baba
Merge
2015-03-23 22:08:14 +01:00
Zoltan Majo
379e3d6fb6
Merge
2015-03-19 18:01:39 +01:00
Coleen Phillimore
57f3125882
Merge
2015-03-13 18:59:41 +00:00
Coleen Phillimore
7b384c6958
8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
...
Only do full metadata walk during class redefinition and only walk handles during class unloading.
Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Daniel D. Daugherty
6029190551
Merge
2015-03-13 09:18:28 -07:00
Igor Ignatyev
cc89bac7ab
8074980: add WhiteBox API to get a flag value for a method
...
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:25 +03:00
Chris Plummer
984cf4c9b5
8069111: Investigate NMT detail tracking support for 32bit ARM
...
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.
Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Alejandro Murillo
cf1f3d308b
Merge
2015-03-06 04:58:52 -08:00
Jesper Wilhelmsson
c1bc0a31b2
8074459: Flags handling memory sizes should be of type size_t
...
Changed the type to size_t for flags that handles memory sizes
Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Vladimir Kozlov
239370b736
Merge
2015-02-26 10:56:54 -08:00
Serguei Spitsyn
942d1f7f32
8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
...
Optimize the adjust_method_entries functions by using the orig_method_idnum() function
Reviewed-by: coleenp, dcubed
2015-02-25 00:30:54 -08:00
Jesper Wilhelmsson
d7f5fccbc6
Merge
2015-02-16 21:24:39 +01:00
Goetz Lindenmaier
a7edf52a02
8073315: Enable gcc -Wtype-limits and fix upcoming issues
...
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.
Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01: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
Daniel Fuchs
654c893170
8072482: Cleanup: In jvm.cpp and other shared files declaration of 64bits constants should use the CONST64/UCONST64 macros instead of the LL suffix
...
Reviewed-by: dholmes, coleenp
2015-02-11 17:41:55 +01:00
Paul Sandoz
a1d993e9ce
8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
...
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Daniel Fuchs
13c456e099
8072450: 9-dev build failed on elinux-i586 and rlinux-i586
...
Added LL suffix to constant declaration
Reviewed-by: dholmes, coleenp, sla
2015-02-04 17:12:03 +01:00
Serguei Spitsyn
8be0bb5458
8008678: JSR 292: constant pool reconstitution must support pseudo strings
...
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.
Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00
Daniel Fuchs
967c448681
8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
...
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.
Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Serguei Spitsyn
4326ee324a
8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
...
Adjust Unsafe methods in the itable/vtable if Unsafe is redefined
Reviewed-by: coleenp, dcubed
2015-01-26 15:51:28 -08:00
Vladimir Kozlov
5f8d6ce7b6
Merge
2015-01-20 15:24:58 -08:00
Lois Foltan
5f8b5ceaee
8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
...
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.
Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00
Kevin Walls
3d112a8dc3
8035938: Memory leak in JvmtiEnv::GetConstantPool
...
Reviewed-by: sspitsyn, dcubed
2015-01-16 21:28:02 +00:00
Andrew Haley
781a793ed9
6584008: jvmtiStringPrimitiveCallback should not be invoked when string value is null
...
Reviewed-by: sla, sspitsyn
2015-01-16 09:15:22 +01:00
Paul Sandoz
582c3c193b
Merge
2015-01-15 12:43:14 +00:00
Paul Sandoz
bfe8fc7433
8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
...
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Dmitry Samersoff
885e6ddf67
7076820: assert(addr != 0) failed: address sanity check in PerfMemory::detach with -XX:-UsePerfData
...
Explicitly checks for UsePerfData and if it's false make Perf:detach a NOP.
Reviewed-by: dholmes, jbachorik
2015-01-14 07:10:53 -08:00