8328064: Remove obsolete comments in constantPool and metadataFactory
Reviewed-by: coleenp
This commit is contained in:
parent
7502dc99bf
commit
6f2676dc5f
src/hotspot/share
@ -36,8 +36,6 @@ class MetadataFactory : AllStatic {
|
||||
public:
|
||||
template <typename T>
|
||||
static Array<T>* new_array(ClassLoaderData* loader_data, int length, TRAPS) {
|
||||
// The "true" argument is because all metadata arrays are read only when
|
||||
// dumped to the shared archive
|
||||
return new (loader_data, length, THREAD) Array<T>(length);
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,7 @@ void ConstantPool::metaspace_pointers_do(MetaspaceClosure* it) {
|
||||
|
||||
for (int i = 0; i < length(); i++) {
|
||||
// The only MSO's embedded in the CP entries are Symbols:
|
||||
// JVM_CONSTANT_String (normal and pseudo)
|
||||
// JVM_CONSTANT_String
|
||||
// JVM_CONSTANT_Utf8
|
||||
constantTag ctag = tag_at(i);
|
||||
if (ctag.is_string() || ctag.is_utf8()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user