Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part 4 ValueTypeTests for lw5, acmp and synchronization #18415

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

theresa-m
Copy link
Contributor

@theresa-m theresa-m commented Nov 7, 2023

Add acmp tests to the lw5 version of ValueTypeTests:

  • testBasicACMPTestOnIdentityTypes
  • testBasicACMPTestOnValueTypes
  • testACMPTestOnFastSubstitutableValueTypes
  • testACMPTestOnFastSubstitutableValueTypesVer2
  • testACMPTestOnRecursiveValueTypes
  • testACMPTestOnValueFloat
  • testACMPTestOnValueDouble
  • testACMPTestOnAssortedValues

Add synchronization tests including:

  • testMonitorEnterAndExitOnValueType
  • testSynchMethodsOnValueTypes
  • testSynchMethodsOnRefTypes
  • testMonitorExitWithRefType
  • testMonitorEnterAndExitWithRefType
  • createValueTypeWithVolatileFields -> createClassWithVolatileValueTypeFields - modified only to test volatile value types in an identity class. volatile fields cannot exist in a value type since fields are implicitly final.

Split ValueTypeGenerator.java to src_qtypes and src_lw5. This is being used for synchronization tests which rely on illegal classes and bytecode patterns that can't be generated with javac.

Related: #18157

Add acmp tests to the lw5 version of ValueTypeTests:
- testBasicACMPTestOnIdentityTypes
- testBasicACMPTestOnValueTypes
- testACMPTestOnFastSubstitutableValueTypes
- testACMPTestOnFastSubstitutableValueTypesVer2
- testACMPTestOnRecursiveValueTypes
- testACMPTestOnValueFloat
- testACMPTestOnValueDouble
- testACMPTestOnAssortedValues

Add synchronization tests including:
- testMonitorEnterAndExitOnValueType
- testSynchMethodsOnValueTypes
- testSynchMethodsOnRefTypes
- testMonitorExitWithRefType
- testMonitorEnterAndExitWithRefType
- createValueTypeWithVolatileFields -> createClassWithVolatileValueTypeFields - modified only to test volatile value types in an identity class. volatile fields cannot exist in a value type since fields are implicitly final.

Split ValueTypeGenerator.java to src_qtypes and src_lw5. This is being used for synchronization tests which rely on illegal classes and bytecode patterns that can't be generated with javac.

Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
@hangshao0
Copy link
Contributor

Jenkins test sanity,extended winval jdknext

@hangshao0
Copy link
Contributor

Jenkins test sanity,extended aixval jdknext

@hangshao0 hangshao0 merged commit e8efba6 into eclipse-openj9:master Nov 16, 2023
6 of 7 checks passed
@theresa-m theresa-m deleted the valuetypetests_4 branch December 6, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:test project:valhalla Used to track Project Valhalla related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants