-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
aarch64
-
iOS
In ASAN enabled build on macosx-aarch64, the tests
1) runtime/ErrorHandling/PrintVMInfoAtExitTest.java
2) runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java
expect some VM outputs that are not produced in ASAN builds.
For case 2) explicitly ASAN is excluded:
The source code for os::print_location() in os.cpp:1292-1300
#if !INCLUDE_ASAN
bool accessible = is_readable_pointer(addr);
// Check if addr points into the narrow Klass protection zone
if (UseCompressedClassPointers && CompressedKlassPointers::is_in_protection_zone(addr)) {
st->print_cr(PTR_FORMAT " points into nKlass protection zone", p2i(addr));
return;
}
1) runtime/ErrorHandling/PrintVMInfoAtExitTest.java
2) runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java
expect some VM outputs that are not produced in ASAN builds.
For case 2) explicitly ASAN is excluded:
The source code for os::print_location() in os.cpp:1292-1300
#if !INCLUDE_ASAN
bool accessible = is_readable_pointer(addr);
// Check if addr points into the narrow Klass protection zone
if (UseCompressedClassPointers && CompressedKlassPointers::is_in_protection_zone(addr)) {
st->print_cr(PTR_FORMAT " points into nKlass protection zone", p2i(addr));
return;
}