Skip to content

Commit

Permalink
8293456: runtime/os/TestTracePageSizes.java sub-tests fail with "Asse…
Browse files Browse the repository at this point in the history
…rtionError: No memory range found for address: NNNN"

Reviewed-by: alanb, lancea
  • Loading branch information
Brian Burkhalter committed Sep 7, 2022
1 parent 32c7b62 commit 76df73b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java
Expand Up @@ -668,8 +668,11 @@ void copyFile(UnixPath source,
// set to true when file and attributes copied
boolean complete = false;
try {
// set to true when data copied
boolean copied = false;
if (!directCopyNotSupported) {

// Some forms of direct copy do not work on zero size files
if (!directCopyNotSupported && attrs.size() > 0) {
// copy bytes to target using platform function
long comp = Blocker.begin();
try {
Expand Down
12 changes: 6 additions & 6 deletions test/hotspot/jtreg/ProblemList.txt
Expand Up @@ -90,12 +90,12 @@ gc/stress/TestStressG1Humongous.java 8286554 windows-x64

runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP_JFR.java 8253437 windows-x64
runtime/jni/terminatedThread/TestTerminatedThread.java 8219652 aix-ppc64
runtime/os/TestTracePageSizes.java#no-options 8267460,8293456 linux-all
runtime/os/TestTracePageSizes.java#explicit-large-page-size 8267460,8293456 linux-all
runtime/os/TestTracePageSizes.java#compiler-options 8267460,8293456 linux-all
runtime/os/TestTracePageSizes.java#G1 8267460,8293456 linux-all
runtime/os/TestTracePageSizes.java#Parallel 8267460,8293456 linux-all
runtime/os/TestTracePageSizes.java#Serial 8267460,8293456 linux-all
runtime/os/TestTracePageSizes.java#no-options 8267460 linux-aarch64
runtime/os/TestTracePageSizes.java#explicit-large-page-size 8267460 linux-aarch64
runtime/os/TestTracePageSizes.java#compiler-options 8267460 linux-aarch64
runtime/os/TestTracePageSizes.java#G1 8267460 linux-aarch64
runtime/os/TestTracePageSizes.java#Parallel 8267460 linux-aarch64
runtime/os/TestTracePageSizes.java#Serial 8267460 linux-aarch64
runtime/ErrorHandling/CreateCoredumpOnCrash.java 8267433 macosx-x64

applications/jcstress/copy.java 8229852 linux-all
Expand Down

1 comment on commit 76df73b

@openjdk-notifier
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.