History log of /openjdk9/hotspot/src/share/vm/oops/constantPool.hpp
Revision Date Author Comments
# 12727:f19b6d14a035 07-Apr-2017 aph

8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
Reviewed-by: kbarrett, coleenp


# 11352:ea45fb60fbbe 27-May-2016 coleenp

8145148: InterfaceMethod CP entry pointing to a class should cause ICCE
Summary: pass tag in LinkInfo and check that resolved method type matches tag, fix tests.
Reviewed-by: sspitsyn, minqi


# 10880:1ac4ec432280 12-Apr-2016 coleenp

8148772: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151546: nsk/jvmti/RedefineClasses/StressRedefine fails in hs nightly
Summary: ConstantPool::resolve_constant_at_impl() isn't thread safe for MethodHandleInError and MethodTypeInError and Constant pool merging is not thread safe for source_file_name.
Reviewed-by: sspitsyn, dcubed


# 10159:832fc8bf51cb 30-Jan-2016 coleenp

8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
Summary: Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc. Use wordSize rather than HeapWordSize for metadata. Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).
Reviewed-by: hseigel, jmasa, cjplummer


# 9954:69ff126be7e8 14-Jan-2016 coleenp

Merge


# 9953:5a375300c073 04-Jan-2016 goetz

8146401: Clean up oop.hpp: add inline directives and fix header files
Reviewed-by: coleenp


# 9801:80f8be586fae 18-Dec-2015 twisti

Merge


# 9789:abbdb25d068c 14-Dec-2015 twisti

8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett


# 9684:cca80b5ad4d7 08-Dec-2015 mgronlun

8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn


# 9526:00ed17bc1cbf 19-Nov-2015 ctornqvi

8143324: Backout JDK-8087223
Reviewed-by: coleenp, acorn


# 9517:4da64841abd7 17-Nov-2015 minqi

8087223: InterfaceMethod CP entry pointing to a class should cause ICCE
Summary: Check constantTag for class constant data consistency at method resolution
Reviewed-by: coleenp, vlivanov


# 9280:97a7ba9f10cf 29-Oct-2015 jwilhelm

Merge


# 9248:6ab7e19c9220 23-Oct-2015 coleenp

8140274: methodHandles and constantPoolHandles should be passed as const references
Summary: modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti


# 9183:20dff0211ded 26-Oct-2015 mgerdin

8140452: Internal Error memory/allocation.cpp:179
Summary: use const ref & and avoid copy ctor
Reviewed-by: coleenp


# 9111:a41fe5ffa839 08-Oct-2015 twisti

8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett


# 8493:0e1f666bf724 29-May-2015 vlivanov

8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp


# 8485:9882a38fa0d2 21-May-2015 vlivanov

8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti


# 7769:080a0772cf95 29-Jan-2015 sspitsyn

8008678: JSR 292: constant pool reconstitution must support pseudo strings
Summary: Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.
Reviewed-by: coleenp, jrose
Contributed-by: serguei.spitsyn@oracle.com


# 7418:ef7449e07592 12-Nov-2014 stefank

8062808: Turn on the -Wreturn-type warning
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett


# 7268:e0048254cc82 28-Oct-2014 coleenp

8058093: Test nsk/stress/jck60/jck60014: assert in src/share/vm/oops/constantPool.cpp: should not be resolved otherwise
8044209: nsk/split_verifier/security/coglio06 fails with exit code 97 - missing 'prohibited package name'
Summary: Fix resolution error saving.
Reviewed-by: lfoltan, sspitsyn, hseigel, ctornqvi


# 6760:22b98ab2a69f 04-Jul-2014 goetz

8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Summary: Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes


# 6620:b188e2fd26d7 19-Jun-2014 coleenp

8026977: NPG: Remove ConstantPool::lock
Summary: Write klass and resolved_references constant pool fields lock free.
Reviewed-by: jrose, twisti


# 6388:dd10307aad9d 07-May-2014 coleenp

Merge


# 6385:003c36658224 05-May-2014 coleenp

8023697: failed class resolution reports different class name in detail message for the first and subsequent times
Summary: Cache detail message when we cache exception for constant pool resolution.
Reviewed-by: acorn, twisti, jrose


# 6373:d02dbc95b60b 29-Apr-2014 anoll

8036956: remove EnableInvokeDynamic flag
Summary: The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.
Reviewed-by: kvn, twisti
Contributed-by: Tobias Hartmann <tobias.hartmann@oracle.com>


# 6206:1299aaa80a0b 26-Mar-2014 coleenp

8031820: NPG: Fix remaining references to metadata as oops in comments
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Summary: 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


# 5536:b8860472c377 22-Oct-2013 iklam

8014910: deadlock between JVM/TI ClassPrepare event handler and CompilerThread
Summary: Revert changes in JDK-8008962
Reviewed-by: coleenp, sspitsyn


# 5325:084b21cd0228 23-Sep-2013 iklam

8025088: Missing cases for JVM_CONSTANT_MethodHandleInError cause crash if debugger steps into error-tagged method handle
Summary: Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: coleenp, sspitsyn


# 5321:a7609ec351d6 20-Sep-2013 dcubed

Merge


# 5318:7c29904fdfa2 20-Sep-2013 coleenp

8014956: nashorn/api/javaaccess/MethodAccessTest.java test fails on sparc-solaris 64
Summary: reference_map[] array had uninitialized junk that was causing a bogus bootstrap method to be found.
Reviewed-by: hseigel, dcubed, sspitsyn


# 5297:b2e698d2276c 13-Sep-2013 drchase

8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Summary: Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose


# 4662:92ef81e2f571 10-May-2013 minqi

8003557: NPG: Klass* const k should be const Klass* k.
Summary: With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
Contributed-by: yumin.qi@oracle.com


# 4549:c115fac239eb 25-Apr-2013 iklam

8008962: NPG: Memory regression: One extra Monitor per ConstantPool
Summary: Re-use InstanceKlass::_init_lock locking ConstantPool as well.
Reviewed-by: dholmes, coleenp, acorn


# 4548:15a99ca4ee34 25-Apr-2013 sspitsyn

8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands
Summary: References from operands to CP entries and back must be correct after CP merge
Reviewed-by: coleenp, twisti
Contributed-by: serguei.spitsyn@oracle.com


# 4208:f16e75e0cf11 22-Feb-2013 coleenp

8000797: NPG: is_pseudo_string_at() doesn't work
Summary: 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


# 4063:0d26ce8e9251 28-Jan-2013 acorn

Merge


# 4062:16fb9f942703 25-Jan-2013 acorn

6479360: PrintClassHistogram improvements
Summary: jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)
Reviewed-by: coleenp, hseigel, sla, acorn
Contributed-by: ioi.lam@oracle.com


# 4058:edd76a5856f7 24-Jan-2013 sspitsyn

8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to
Summary: When constant pool is copied in merge_constant_pools the invokedynamic operands must be copied before.
Reviewed-by: coleenp, twisti
Contributed-by: serguei.spitsyn@oracle.com


# 4055:5daaddd917a1 23-Jan-2013 coleenp

8006040: NPG: on_stack processing wastes space in ConstantPool
Summary: Added on_stack bit to flags. Also MetadataMarkOnStack is used for more than JVMTI so had to be moved.
Reviewed-by: dholmes, stefank


# 4032:b5f6465019f6 17-Jan-2013 coleenp

8006548: version wrong in new constantPool code
Summary: fix increment problem with saved_version
Reviewed-by: dholmes


# 4031:b14da2e6f2dc 17-Jan-2013 coleenp

7174978: NPG: Fix bactrace builder for class redefinition
Summary: 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


# 3816:18fb7da42534 06-Nov-2012 coleenp

8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
Summary: Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
Contributed-by: harold.seigel@oracle.com


# 3716:6e5a59a8e4a7 08-Oct-2012 rbackman

Merge


# 3707:d8ce2825b193 29-Sep-2012 coleenp

8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Summary: Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn


# 3698:f6b0eb4e44cf 01-Oct-2012 twisti

7200949: JSR 292: rubybench/bench/time/bench_base64.rb fails with jruby.jar not on boot class path
Reviewed-by: jrose, kvn


# 3610:fa6e618671d7 05-Sep-2012 coleenp

7195867: NPG: SAJDI tests fail with sun.jvm.hotspot.types.WrongTypeException: No suitable match for type
Summary: Need to restore the vtable in metadata when we restore the type from the shared archive.
Reviewed-by: acorn, jcoomes, jmasa, jrose


# 3602:da91efe96a93 01-Sep-2012 coleenp

6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>