JDK-8264408 : test_oopStorage no longer needs to disable some tests on WIN32
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-03-30
  • Updated: 2025-01-24
  • Resolved: 2021-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b23Fixed
Related Reports
Relates :  
Relates :  
Description
The gtest gc/shared/test_oopStorage.cpp disables some tests on 32bit Windows because they use SafeFetch, which couldn't be used in the context where these tests were run.  JDK-8185734 tracked the problem of using SafeFetch in gtests, and has since been fixed.  So the OopStorage tests no longer need to be disabled.

Removing the test suppression involves removing the macro DISABLE_GARBAGE_ALLOCATION_STATUS_TEST and the #ifndef uses of it from test_oopStorage.cpp.

Note that the condition for defining that macro was botched, so that it applied to all Windows platforms, not just 32bit Windows.  So the relevant tests haven't been executed on any version of Windows.


Comments
Changeset: da7c846a Author: Thomas Stuefe <stuefe@openjdk.org> Date: 2021-05-18 08:52:39 +0000 URL: https://git.openjdk.java.net/jdk/commit/da7c846a8c52c32babae1c545aa17d4b9bd85e76
18-05-2021