History log of /openjdk10/hotspot/src/share/vm/classfile/symbolTable.cpp
Revision Date Author Comments
# 13370:731370f39fcd 02-Aug-2017 iklam

8072061: Automatically determine optimal sizes for the CDS regions
Summary: See new C++ class MetaspaceClosure.
Reviewed-by: coleenp, jiangli, mseledtsov


# 13366:a77c680f1535 02-Aug-2017 coleenp

8184994: Add Dictionary size logging and jcmd
Summary: added dcmd for printing system dictionary like the stringtable and symboltable and making print functions go to outputstream rather than tty
Reviewed-by: shade, hseigel


# 12790:d6d7e5caf497 14-May-2017 tschatzl

8180048: Interned string and symbol table leak memory during parallel unlinking
Summary: Make appending found dead BasicHashtableEntrys to the free list atomic.
Reviewed-by: ehelin, shade, coleenp


# 12042:9e688f318f93 05-Sep-2016 kzhaldyb

8165439: Convert Test_TempNewSymbol to GTest
Reviewed-by: dholmes, coleenp


# 11857:d0fbf661cc16 21-Aug-2016 dholmes

8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Summary: Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis


# 11598:727970489c6c 06-Apr-2016 iklam

8150752: Share Class Data
Reviewed-by: acorn, hseigel, mschoene


# 10941:857efca82258 17-Apr-2016 iklam

8150607: Clean up CompactHashtable
Summary: refactored code, and added test cases for serviceability agent
Reviewed-by: jiangli, ccheung


# 10762:ea81fe138932 03-Apr-2016 jprovino

8132524: Missing includes to resourceArea.hpp
Summary: Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm


# 10712:5518d3ad6fa7 23-Mar-2016 iklam

8152380: Shared symbol table should never use alternate hashcode
Reviewed-by: coleenp, jiangli


# 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


# 9952:09636a2eaeff 14-Jan-2016 coleenp

8145940: TempNewSymbol should have correct copy and assignment functions
Summary: Add clear() to the assignment operator and add copy constructor.
Reviewed-by: mgronlun, lfoltan, kbarrett, jrose


# 9947:9a2baaa34464 14-Jan-2016 david

8146690: Make all classes in GC follow the naming convention.
Reviewed-by: dholmes, stefank


# 9677:a9bb3af3d55a 02-Dec-2015 iklam

8143615: compactHashtable.hpp includes .inline.hpp file
Reviewed-by: dholmes, stefank


# 9525:4be70e11f813 19-Nov-2015 brutisso

8143255: Remove debug logging from SymbolTable::unlink() and SymbolTable::possibly_parallel_unlink()
Reviewed-by: coleenp, tschatzl


# 9293:a20807e48002 06-Nov-2015 neliasso

Merge


# 9283:f31349f1215e 03-Nov-2015 thartmann

8141132: JEP 254: Compact Strings
Summary: Adopt a more space-efficient internal representation for strings.
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
Contributed-by: Brent Christian <brent.christian@oracle.com>, Vivek Deshpande <vivek.r.deshpande@intel.com>, Tobias Hartmann <tobias.hartmann@oracle.com>, Charlie Hunt <charlie.hunt@oracle.com>, Vladimir Kozlov <vladimir.kozlov@oracle.com>, Roger Riggs <roger.riggs@oracle.com>, Xueming Shen <xueming.shen@oracle.com>, Aleksey Shipilev <aleksey.shipilev@oracle.com>, Sandhya Viswanathan <sandhya.viswanathan@intel.com>


# 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


# 9099:115188e14c15 09-Oct-2015 david

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


# 8706:aec8e7843d43 15-Jul-2015 minqi

8025692: Log what methods are touched at run-time
Summary: Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.
Reviewed-by: acorn, iklam


# 8543:e43885496ea0 12-Jun-2015 jiangli

8015086: add interned strings to the shared archive.
Summary: Support saving interned strings in shared CDS archive.
Reviewed-by: coleenp, iklam, pliden


# 8413:92457dfb91bd 13-May-2015 pliden

8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david


# 7864:6a5be7f00868 13-Feb-2015 stefank

8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes


# 7705:6fa1219d20bb 14-Jan-2015 jiangli

8067982: Some jcmd /gc/heap_dump tests failed: hprof output contains warning or error.
Summary: Include shared symbols in SymbolTable::symbols_do(SymbolClosure).
Reviewed-by: minqi, farvidsson, coleenp


# 7613:05c08ab3cf65 17-Dec-2014 jiangli

8059510: Compact symbol table layout inside shared archive.
Summary: Use separate compact table for shared symbols.
Reviewed-by: iklam, gziemski, shade, sla, jrose


# 7418:ef7449e07592 12-Nov-2014 stefank

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


# 7155:7613fbc3d837 22-Sep-2014 shade

8057925: PrintSymbolTableSizeHistogram prints misleading output
Reviewed-by: jrose, kvn, gziemski


# 6984:f80bb126b5bb 29-Aug-2014 mgerdin

8056084: Refactor Hashtable to allow implementations without rehashing support
Reviewed-by: gziemski, jmasa, brutisso, coleenp, tschatzl


# 6853:91eeb8807a03 07-Aug-2014 zgu

8046598: Scalable Native memory tracking development
Summary: Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill


# 6646:b596a1063e90 04-Jun-2014 goetz

8044775: Improve usage of umbrella header atomic.inline.hpp.
Reviewed-by: stefank, kvn


# 6417:aa3adb6da964 12-May-2014 coleenp

Merge


# 6414:9b502ede714c 07-May-2014 gziemski

8038654: Separate SymbolTable and StringTable code
Summary: Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.
Reviewed-by: coleenp, stefank


# 6412:53a41e7cbe05 09-May-2014 drchase

8037816: Fix for 8036122 breaks build with Xcode5/clang
Summary: Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank


# 6260:60ca43d763e0 04-Apr-2014 stefank

8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
Reviewed-by: brutisso, tschatzl


# 6163:6bd5c687f11a 18-Mar-2014 pliden

8029075: String deduplication in G1
Summary: Implementation of JEP 192, http://openjdk.java.net/jeps/192
Reviewed-by: brutisso, tschatzl, coleenp


# 5856:893ce66f7473 20-Jan-2014 tschatzl

8027476: Improve performance of Stringtable unlink
8027455: Improve symbol table scan times during gc pauses
Summary: Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.
Reviewed-by: mgerdin, coleenp, brutisso


# 5350:a5ac0873476c 27-Sep-2013 zgu

Merge


# 5349:190899198332 26-Sep-2013 hseigel

7195622: CheckUnhandledOops has limited usefulness now
Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
Contributed-by: lois.foltan@oracle.com


# 5340:461159cd7a91 25-Sep-2013 tschatzl

Merge


# 5334:2c022e432e10 20-Sep-2013 stefank

8024974: Incorrect use of GC_locker::is_active()
Summary: SymbolTable and StringTable can make calls to GC_locker::is_active() outside a safepoint. This isn't safe because the GC_locker active state (lock count) is only updated at a safepoint and only remains valid as long as _needs_gc is true. However, outside a safepoint_needs_gc can change to false at any time, which makes it impossible to do a correct call to is_active() in that context. In this case these calls can just be removed since the input argument to basic_add() should never be on the heap and so there's no need to check the GC_locker state. This change also adjusts the assert() in is_active() to makes sure all calls to this function are always done under a safepoint.
Reviewed-by: brutisso, dcubed
Contributed-by: per.liden@oracle.com


# 5308:63147986a428 18-Sep-2013 dcubed

8019835: Strings interned in different threads equal but does not ==
Summary: Add -XX:+VerifyStringTableAtExit option and code to verify StringTable invariants.
Reviewed-by: rdurbin, sspitsyn, coleenp


# 4842:01522ca68fc7 18-Jun-2013 johnc

8015237: Parallelize string table scanning during strong root processing
Summary: Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.
Reviewed-by: tschatzl, stefank, twisti


# 4761:8dbc025ff709 26-May-2013 stefank

8015422: Large performance hit when the StringTable is walked twice in Parallel Scavenge
Summary: Combine the calls to StringTable::unlink and StringTable::oops_do in Parallel Scavenge.
Reviewed-by: pliden, coleenp


# 4760:95c00927be11 26-May-2013 stefank

8015428: Remove unused CDS support from StringTable
Summary: The string in StringTable is not used by CDS anymore. Remove the unnecessary code in preparation for 8015422: Large performance hit when the StringTable is walked twice in Parallel Scavenge
Reviewed-by: pliden, tschatzl, coleenp


# 4709:a5d6f0c3585f 18-May-2013 iklam

8014262: PrintStringTableStatistics should include more footprint info
Summary: Added info for the string/symbol objects and the hash entries
Reviewed-by: coleenp, rbackman


# 4552:f258c5828eb8 29-Apr-2013 hseigel

8011773: Some tests on Interned String crashed JVM with OOM
Summary: Instead of terminating the VM, throw OutOfMemoryError exceptions.
Reviewed-by: coleenp, dholmes


# 4415:ede380e13960 02-Apr-2013 mgerdin

8009763: Add WB test for String.intern()
Summary: Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
Contributed-by: leonid.mesnik@oracle.com


# 4283:0ede345ec7c9 13-Mar-2013 coleenp

8009829: CDS: JDK JPRT test fails crash in Symbol::equals()
Summary: -Xshare:dump was creating a Symbol in C_heap. There's an assert there that jdk jprt wasn't hitting because it was only done in product
Reviewed-by: dholmes, hseigel, iklam


# 3900:2aa953165ade 13-Dec-2012 brutisso

8004661: Comment and function name java_lang_String::toHash is wrong
Summary: renamed to hash_code
Reviewed-by: dholmes, coleenp, brutisso
Contributed-by: erik.helin@oracle.com


# 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>


# 3469:ace99a6ffc83 04-Jul-2012 coleenp

7181200: JVM new hashing code breaks SA in product mode
Summary: Made new_hash() overloaded rather than a virtual function so SA code doesn't need to be changed.
Reviewed-by: kvn, acorn, dholmes, fparain


# 3465:d2a62e0f25eb 28-Jun-2012 zgu

6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain


# 3440:246d977b51f2 25-Jun-2012 coleenp

7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table
Summary: Cannot delete _buckets and HashtableEntries in shared space (CDS)
Reviewed-by: acorn, kvn, dlong, dcubed, kamg


# 3430:e9140bf80b4a 13-Jun-2012 coleenp

7158800: Improve storage of symbol tables
Summary: 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


# 3247:fc9d8850ab8b 23-Mar-2012 coleenp

7150058: Allocate symbols from null boot loader to an arena for NMT
Summary: Move symbol allocation to an arena so NMT doesn't have to track them at startup.
Reviewed-by: never, kamg, zgu


# 2992:94ec88ca68e2 11-Jan-2012 phh

7115199: Add event tracing hooks and Java Flight Recorder infrastructure
Summary: Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.
Reviewed-by: acorn, sspitsyn
Contributed-by: markus.gronlund@oracle.com


# 2265:352622fd140a 31-Mar-2011 never

7032129: Native memory usage grow unexpectedly for vm/oom/*InternedString tests
Reviewed-by: kvn, kamg, jcoomes


# 2226:b099aaf51bf8 22-Mar-2011 jcoomes

6962931: move interned strings out of the perm gen
Reviewed-by: never, coleenp, ysr, jwilhelm


# 2183:df1347358fe6 07-Mar-2011 coleenp

7024584: Symbol printouts shouldnt be under PrintGCDetails
Summary: Put symbol printing under Verbose and WizardMode so you can get this information if you really want it.
Reviewed-by: phh, stefank, never, dholmes, jcoomes


# 2062:3582bf76420e 27-Jan-2011 coleenp

6990754: Use native memory and reference counting to implement SymbolTable
Summary: move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank


# 1879:f95d63e2154a 23-Nov-2010 stefank

6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg


# 1472:c18cbe5936b8 27-May-2010 trims

6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair


# 665:c89f86385056 21-Mar-2009 jrose

6814659: separable cleanups and subroutines for 6655638
Summary: preparatory but separable changes for method handles
Reviewed-by: kvn, never


# 605:98cb887364d3 27-Feb-2009 twisti

6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never


# 0:a61af66fc99e 30-Nov-2007 duke

Initial load