Skip to content
Permalink
Browse files
8260933: runtime/cds/serviceability/ReplaceCriticalClassesForSubgraph…
…s.java fails without CompactStrings

Reviewed-by: iklam
  • Loading branch information
Jiangli Zhou committed Mar 2, 2021
1 parent d339832 commit 9f0f0c9870b9e09aff4dca20bd1404a1872ac566
Showing 1 changed file with 2 additions and 2 deletions.
@@ -42,12 +42,12 @@ public String[] getTests() {
String tests[] = {
// Try to replace classes that are used by the archived subgraph graphs. (CDS should be disabled)
"-early -notshared -subgraph java/lang/module/ResolvedModule jdk.internal.module.ArchivedModuleGraph",
"-early -notshared -subgraph java/lang/Long java.lang.Long$LongCache",
"-early -notshared -subgraph java/lang/Integer java.lang.Integer$IntegerCache",

// CDS should not be disabled -- these critical classes cannot be replaced because
// JvmtiExport::early_class_hook_env() is false.
"-subgraph java/lang/module/ResolvedModule jdk.internal.module.ArchivedModuleGraph",
"-subgraph java/lang/Long java.lang.Long$LongCache",
"-subgraph java/lang/Integer java.lang.Integer$IntegerCache",

// Tests for archived full module graph. We cannot use whitebox, which requires appending to bootclasspath.
// VM will disable full module graph if bootclasspath is appended.

1 comment on commit 9f0f0c9

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 9f0f0c9 Mar 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.