Coleen Phillimore
e508ba9b0b
7174978: NPG: Fix bactrace builder for class redefinition
...
Remove Method* from backtrace but save version so redefine classes doesn't give inaccurate line numbers. Removed old Merlin API with duplicate code.
Reviewed-by: dholmes, sspitsyn
2013-01-17 13:40:31 -05:00
Stefan Karlsson
67fc68ea7f
8005590: java_lang_Class injected field resolved_constructor appears unused
...
Reviewed-by: coleenp, dholmes
2013-01-15 13:32:13 +01:00
Eric Mccorkle
be968245ec
8004728: Add hotspot support for parameter reflection
...
Add hotspot support for parameter reflection
Reviewed-by: acorn, jrose, coleenp
2013-01-08 14:01:36 -05:00
Yumin Qi
a5fbc1aa4d
Merge
2012-12-24 11:46:38 -08:00
Joel Borggren-Franck
6ed6cb5375
8004823: Add VM support for type annotation reflection
...
Reviewed-by: dholmes, coleenp
2012-12-20 10:22:19 +01:00
Erik Helin
0ed52d16e2
8004661: Comment and function name java_lang_String::toHash is wrong
...
Renamed to hash_code
Reviewed-by: dholmes, coleenp, brutisso
2012-12-13 10:09:49 +01:00
Coleen Phillimore
7aa43fc5d8
8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap
...
Add ClassLoaderData object for each anonymous class with metaspaces to allocate in.
Reviewed-by: twisti, jrose, stefank
2012-11-29 16:50:29 -05:00
Stefan Karlsson
57204d9f34
8003935: Simplify the needed includes for using Thread::current()
...
Reviewed-by: dholmes, rbackman, coleenp
2012-11-27 14:20:21 +01:00
Coleen Phillimore
ddec2a3aed
Merge
2012-11-16 09:19:12 -05:00
Yumin Qi
f712e12f98
6830717: replay of compilations would help with debugging
...
When java process crashed in compiler thread, repeat the compilation process will help finding root cause. This is done with using SA dump application class data and replay data from core dump, then use debug version of jvm to recompile the problematic java method.
Reviewed-by: kvn, twisti, sspitsyn
2012-11-12 14:03:53 -08:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Harold Seigel
7fee66f152
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
...
Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
2012-11-06 15:09:37 -05:00
Harold Seigel
6b158b4089
7199068: NPG: SharedSkipVerify is meaningless
...
Remove the SharedSkipVerify flag
Reviewed-by: kamg, sspitsyn, coleenp
2012-10-10 17:04:33 -04:00
Coleen Phillimore
28047d6a0f
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
...
Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
2012-09-29 06:40:00 -04:00
Coleen Phillimore
12b9a4edbb
7195833: NPG: Rename instanceClassLoaderKlass, instanceRefKlass and instanceMirrorKlass
...
Simple renaming to be consistent with instanceKlass->InstanceKlass renaming
Reviewed-by: stefank, jmasa
2012-09-07 12:04:16 -04:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Christian Thalinger
b9eb5785cc
7187290: nightly failures after JSR 292 lazy method handle update
...
Reviewed-by: kvn, twisti
2012-07-27 16:14:15 -07:00
Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Christian Thalinger
19ea8f720f
7087357: JSR 292: remove obsolete code after 7085860
...
Reviewed-by: kvn, never
2012-07-16 11:14:41 -07:00
Staffan Larsen
cafacdf6dc
Merge
2012-06-18 11:33:17 +02:00
Coleen Phillimore
55b09e7016
7158800: Improve storage of symbol tables
...
Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance
Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-13 19:52:59 -04:00
Krystal Mok
529b370174
7174218: remove AtomicLongCSImpl intrinsics
...
Reviewed-by: kvn, twisti
2012-06-12 14:31:44 -07:00
Vladimir Kozlov
eb4a860bc3
6924259: Remove String.count/String.offset
...
Allow a version of String class that doesn't have count and offset fields.
Reviewed-by: never, coleenp
2012-05-14 09:36:00 -07:00
Tom Rodriguez
52979e6206
7130676: Tiered: assert(bci == 0 || 0<= bci && bci<code_size()) during stack trace construction
...
Reviewed-by: kvn, iveresov
2012-01-22 14:03:20 -08:00
Tom Rodriguez
bf203dac41
7098528: crash with java -XX:+ExtendedDTraceProbes
...
Reviewed-by: kvn
2011-10-17 21:38:29 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Igor Veresov
0e0ba86cd8
Merge
2011-09-15 12:44:09 -07:00
Vladimir Kozlov
f99084037a
7090259: Fix hotspot sources to build with old compilers
...
Fixed warnings which prevent building VM with old compilers.
Reviewed-by: never
2011-09-13 20:28:00 -07:00
Tom Rodriguez
e39ba1a5fe
7086585: make Java field injection more flexible
...
Reviewed-by: jrose, twisti, kvn, coleenp
2011-09-10 17:29:02 -07:00
Christian Thalinger
439b75eb12
7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods
...
Reviewed-by: jrose, never
2011-09-08 05:11:31 -07:00
Tom Rodriguez
32fd1b087d
7071307: MethodHandle bimorphic inlining should consider the frequency
...
Reviewed-by: twisti, roland, kvn, iveresov
2011-09-02 20:58:21 -07:00
Christian Thalinger
fcc2a86582
7079673: JSR 292: C1 should inline bytecoded method handle adapters
...
Reviewed-by: never
2011-09-01 01:31:25 -07:00
David Holmes
536904f7d3
7046490: Preallocated OOME objects should obey Throwable stack trace protocol
...
Update the OOME stacktrace to contain Throwable.UNASSIGNED_STACK when the backtrace is filled in
Reviewed-by: mchung, phh
2011-07-22 00:29:01 -07:00
Vladimir Kozlov
9120c1e85c
Merge
2011-07-07 10:51:07 -07:00
John R Rose
8df44305c7
7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path
...
Reviewed-by: never
2011-06-23 17:14:06 -07:00
Bengt Rutisson
c0d64ac595
6918185: Remove unused code for lost card-marking optimization in BacktraceBuilder
...
Removed dead code
Reviewed-by: ysr, coleenp, dholmes
2011-06-13 13:48:18 +02:00
Tom Rodriguez
6aeaca98d1
6939861: JVM should handle more conversion operations
...
Reviewed-by: twisti, jrose
2011-05-06 16:33:13 -07:00
Coleen Phillimore
ab86f12c44
7009923: JSR 292: VM crash in JavaThread::last_frame
...
Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack.
Reviewed-by: dholmes, phh, dsamersoff
2011-04-26 14:04:43 -04:00
Coleen Phillimore
3c4d3002f2
Merge
2011-04-12 14:18:53 -07:00
David Holmes
09c93cbb25
7034585: Adjust fillInStackTrace filtering to assist 6998871
...
Allow for one or more fillInStackTrace frames to be skipped
Reviewed-by: mchung, kvn
2011-04-12 02:53:06 -04:00
John R Rose
16784a72e8
6981791: remove experimental code for JSR 292
...
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
Tom Rodriguez
036560e999
7032129: Native memory usage grow unexpectedly for vm/oom/*InternedString tests
...
Reviewed-by: kvn, kamg, jcoomes
2011-03-31 14:00:41 -07:00
Christian Thalinger
c9e2dcda4b
6817525: turn on method handle functionality by default for JSR 292
...
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
Reviewed-by: never, kvn, jrose, phh
2011-03-31 02:31:57 -07:00
John Coomes
fe899cc10d
6962931: move interned strings out of the perm gen
...
Reviewed-by: never, coleenp, ysr, jwilhelm
2011-03-22 13:36:33 -07:00
Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
John R Rose
f6344076f2
7012648: move JSR 292 to package java.lang.invoke and adjust names
...
Package and class renaming only; delete unused methods and classes
Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
John R Rose
6146dffe45
6839872: remove implementation inheritance from JSR 292 APIs
...
Consolidate runtime support in java.dyn.MethodHandleNatives; include transitional compatibility logic
Reviewed-by: twisti
2011-03-11 22:33:47 -08:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Staffan Larsen
1765b0fbf0
6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
...
Tag allocated memory with a magic value and verify when releasing.
Reviewed-by: phh, stefank
2010-12-07 03:15:45 -08:00
Ivan P Krylov
9802f91e66
6348631: remove the use of the HPI library from Hotspot
...
Move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request
Reviewed-by: coleenp, acorn, dsamersoff
2010-12-01 18:26:32 -05:00