Skip to content
Permalink
Browse files
8263915: runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java f…
…ails when UseCompressedClassPointers is off

Reviewed-by: minqi
  • Loading branch information
DamonFool committed Mar 23, 2021
1 parent 2da882c commit 7b81f8e34b228772e4b05a7826801d31cbef640f
Showing with 2 additions and 3 deletions.
  1. +2 −3 test/hotspot/jtreg/runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -37,8 +37,7 @@
private static String ERR_MSGS[] = {
"UseSharedSpaces: shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure)",
"UseSharedSpaces: Unable to map shared spaces"};
private static String RELEASE_SPACE_MATCH =
"Released shared space\\s(\\(archive\\s*\\+\\s*class\\) | ?)0(x|X)[0-9a-fA-F]+$";
private static String RELEASE_SPACE_MATCH = "Released shared space .* 0(x|X)[0-9a-fA-F]+$";
private static String OS_RELEASE_MSG = "os::release_memory failed";

public static void main(String[] args) throws Exception {

1 comment on commit 7b81f8e

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 7b81f8e Mar 23, 2021

Please sign in to comment.