Skip to content


8263914: CDS fails to find the default shared archive on x86_32
Browse files Browse the repository at this point in the history
Reviewed-by: dholmes, iklam
  • Loading branch information
DamonFool committed Mar 23, 2021
1 parent a5e7a89 commit b23228d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/arguments.cpp
Expand Up @@ -3438,7 +3438,7 @@ char* Arguments::get_default_shared_archive_path() {
const size_t len = jvm_path_len + file_sep_len + 20;
default_archive_path = NEW_C_HEAP_ARRAY(char, len, mtArguments);
jio_snprintf(default_archive_path, len,
UseCompressedOops ? "%s%sclasses.jsa": "%s%sclasses_nocoops.jsa",
LP64_ONLY(!UseCompressedOops ? "%s%sclasses_nocoops.jsa":) "%s%sclasses.jsa",
jvm_path, os::file_separator());
return default_archive_path;
Expand Down

1 comment on commit b23228d

Copy link

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.