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
Coleen Phillimore
7e2463ea72
8023697: failed class resolution reports different class name in detail message for the first and subsequent times
...
Cache detail message when we cache exception for constant pool resolution.
Reviewed-by: acorn, twisti, jrose
2014-05-05 19:53:00 -04:00
Coleen Phillimore
c8990959f2
8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
...
Keep class in CLD::_klasses list and mirror created for CDS classes if OOM during restore_shareable_info(). This keeps pointers consistent for CMS.
Reviewed-by: ehelin, stefank, jmasa, iklam
2014-04-08 13:58:38 -04:00
Coleen Phillimore
472622d900
8031820: NPG: Fix remaining references to metadata as oops in comments
...
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Staffan Larsen
e1e850a132
8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
...
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Coleen Phillimore
2759eb10ae
8033528: assert(0 <= i && i < length()) failed: index out of bounds
...
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.
Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Coleen Phillimore
305d2f27f1
8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
...
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.
Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Ioi Lam
0e4eda601c
8014910: deadlock between JVM/TI ClassPrepare event handler and CompilerThread
...
Revert changes in JDK-8008962
Reviewed-by: coleenp, sspitsyn
2013-10-22 14:29:02 -07:00
Coleen Phillimore
fa72ad21f9
8022592: assert at constantTag.cpp:57: ShouldNotReachHere()
...
More missing cases for JVM_CONSTANT_Method{Handle,Type}InError
Reviewed-by: hseigel, dcubed
2013-10-11 11:23:49 -04:00
Coleen Phillimore
62fc4be9cb
8025185: MethodHandleInError and MethodTypeInError not handled in ConstantPool::compare_entry_to and copy_entry_to
...
Add missing cases.
Reviewed-by: sspitsyn, dcubed
2013-10-09 21:45:28 -04:00
Lois Foltan
7bf953d005
7195622: CheckUnhandledOops has limited usefulness now
...
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Ioi Lam
522051490c
8025088: Missing cases for JVM_CONSTANT_MethodHandleInError cause crash if debugger steps into error-tagged method handle
...
Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: coleenp, sspitsyn
2013-09-23 08:56:19 -07:00
Daniel D. Daugherty
80b2573b1c
Merge
2013-09-20 18:19:07 -07:00
Coleen Phillimore
42589e0f11
8014956: nashorn/api/javaaccess/MethodAccessTest.java test fails on sparc-solaris 64
...
Reference_map[] array had uninitialized junk that was causing a bogus bootstrap method to be found.
Reviewed-by: hseigel, dcubed, sspitsyn
2013-09-20 18:34:00 -04:00
David Chase
222c735458
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
...
Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
Coleen Phillimore
39a1c1d6c2
8016325: JVM hangs verifying system dictionary
...
Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Ioi Lam
9dc36eb923
8014912: Restore PrintSharedSpaces functionality after NPG
...
Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn
2013-05-28 16:36:19 -07:00
Calvin Cheung
7cb20773ad
8015265: revise the fix for 8007037
...
Reviewed-by: sspitsyn, dholmes, dcubed
2013-05-24 17:19:56 -07:00
Ioi Lam
4e19360f89
8008962: NPG: Memory regression: One extra Monitor per ConstantPool
...
Re-use InstanceKlass::_init_lock locking ConstantPool as well.
Reviewed-by: dholmes, coleenp, acorn
2013-04-25 12:55:49 -07:00
Serguei Spitsyn
333cf9a756
8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands
...
References from operands to CP entries and back must be correct after CP merge
Reviewed-by: coleenp, twisti
2013-04-25 03:58:53 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Morris Meyer
6c55facb77
8009593: [parfait] Null pointer deference in hotspot/src/share/vm/oops/constantPool.cpp
...
Added guarantee() to print_entry_on()
Reviewed-by: kvn
2013-03-21 10:13:56 -07:00
Coleen Phillimore
b8b9434a9f
8000797: NPG: is_pseudo_string_at() doesn't work
...
Zero Symbol* for constant pool strings to indicate pseudo_strings (objects that aren't strings). Clean up JVM_CONSTANT_Object and unused flags.
Reviewed-by: sspitsyn, jrose
2013-02-22 08:36:42 -05:00
Serguei Spitsyn
da8ccb9375
8006546: JSR 292: typos in the ConstantPool::copy_cp_impl()
...
Simple typos that need to be fixed
Reviewed-by: coleenp, twisti
2013-01-31 20:09:16 -08:00
Karen Kinnear
b28f16c910
Merge
2013-01-28 10:34:07 -05:00
Ioi Lam
93b845e21b
6479360: PrintClassHistogram improvements
...
Jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)
Reviewed-by: coleenp, hseigel, sla, acorn
2013-01-25 15:06:18 -05:00
Serguei Spitsyn
020fe75e67
8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to
...
When constant pool is copied in merge_constant_pools the invokedynamic operands must be copied before.
Reviewed-by: coleenp, twisti
2013-01-24 22:13:32 -08:00
Coleen Phillimore
99039568f9
8006040: NPG: on_stack processing wastes space in ConstantPool
...
Added on_stack bit to flags. Also MetadataMarkOnStack is used for more than JVMTI so had to be moved.
Reviewed-by: dholmes, stefank
2013-01-23 10:34:29 -05:00
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
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
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
Keith McGuigan
6563cda42b
7200776: Implement default methods in interfaces
...
Add generic type analysis and default method selection algorithms
Reviewed-by: coleenp, acorn
2012-10-11 12:25:42 -04:00
Rickard Bäckman
25e07fb041
Merge
2012-10-09 07:41:27 +02:00
Christian Thalinger
59b8489a0c
7200949: JSR 292: rubybench/bench/time/bench_base64.rb fails with jruby.jar not on boot class path
...
Reviewed-by: jrose, kvn
2012-10-01 14:50:10 -07: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
8536f548db
7195867: NPG: SAJDI tests fail with sun.jvm.hotspot.types.WrongTypeException: No suitable match for type
...
Need to restore the vtable in metadata when we restore the type from the shared archive.
Reviewed-by: acorn, jcoomes, jmasa, jrose
2012-09-05 20:08:08 -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