Skip to content

Re-write valueType sub-tests - #16299

Merged
tajila merged 2 commits into
eclipse-openj9:masterfrom
hangshao0:Test
Nov 10, 2022
Merged

Re-write valueType sub-tests#16299
tajila merged 2 commits into
eclipse-openj9:masterfrom
hangshao0:Test

Conversation

@hangshao0

Copy link
Copy Markdown
Contributor
  1. Re-write testFlatLayoutsWithRecursiveLongs and
    testACMPTestOnFastSubstitutableValueTypesVer2 using classes from Javac
    instead of ASM generated classes.

  2. Put the new classes in ValueTypeTestClasses, the class names of
    ValueLong, DoubleLong, QuadLong and DoubleQuadLong now become
    org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeLong,
    org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeDoubleLong,
    org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeQuadLong,
    org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeDoubleQuadLong.

  3. Update the DDR tests to check for the new class names.

  4. Split ValueTypeArrayTests from ValueTypeTests.

Closes #16291 #16292
Closes #16284

Signed-off-by: Hang Shao hangshao@ca.ibm.com

1. Re-write testFlatLayoutsWithRecursiveLongs and
testACMPTestOnFastSubstitutableValueTypesVer2 using classes from Javac
instead of ASM generated classes.

2. Put the new classes in ValueTypeTestClasses, the class names of
ValueLong, DoubleLong, QuadLong and DoubleQuadLong now become 
org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeLong,
org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeDoubleLong,
org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeQuadLong,
org/openj9/test/lworld/ValueTypeTestClasses$ValueTypeDoubleQuadLong.

3. Update the DDR tests to check for the new class names.

Closes eclipse-openj9#16291 eclipse-openj9#16292

Signed-off-by: Hang Shao <hangshao@ca.ibm.com>
@hangshao0 hangshao0 added comp:test project:valhalla Used to track Project Valhalla related work labels Nov 9, 2022
@hangshao0
hangshao0 force-pushed the Test branch 4 times, most recently from 26d7c09 to 0eff1ea Compare November 9, 2022 19:20
Closes eclipse-openj9#16284

Signed-off-by: Hang Shao <hangshao@ca.ibm.com>
@hangshao0

Copy link
Copy Markdown
Contributor Author

@llxia @hzongaro Can you review the change of commit Split ValueTypeArrayTests from ValueTypeTests ?
@tajila Can you review and merge this change ?

Comment thread test/functional/Valhalla/testng.xml

@hzongaro hzongaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I just wanted to suggest working with Annabelle to get the right set of variations in place for JIT testing.

Comment on lines +143 to +146
<variation>-Xjit:count=0</variation>
<variation>-Xjit:count=1,disableAsyncCompilation -Xgcpolicy:optthruput</variation>
<variation>-Xjit:count=1,disableAsyncCompilation -Xgcpolicy:optthruput -XX:ValueTypeFlatteningThreshold=99999</variation>
<variation>-Xjit:count=1,disableAsyncCompilation -Xgcpolicy:gencon -XX:ValueTypeFlatteningThreshold=99999</variation>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird! My review comment disappeared.

I just wanted to mention that Annabelle has pull request #16294 pending which adds variations for JIT testing. You might want to coordinate these changes with her to ensure you have the right set of variations.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add the new JIT variations if #16294 is merged before this one.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this PR can be merged before #16294. I'll update #16294 accordingly afterwards

@tajila

tajila commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

Jenkins test sanity,extended xlinuxval jdknext

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

5 participants