Skip to content

Conversation

@duanyangjing
Copy link
Collaborator

@duanyangjing duanyangjing commented Nov 14, 2025

equals: ([C[C)Z
compareTo: ([B[B)I
getChars: ([CII[CI)V
indexOf: ([C[C)I
indexOf: ([CI[CII)I
indexOfChar: ([CIII)I

  cvm8+25 pgc cvm8+25 g1gc cvm8+25 genzgc
max-before 30854 31197 24011
crit-before 14803 14254 18303
max-after-avg 31539 30682 24225
crit-after-avg 15384 13972 18343

Copy link
Collaborator

@luchsh luchsh left a comment

Choose a reason for hiding this comment

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

There seems to be regression in G1, GenZ mode, can we confirmed that? may have to fix it in this patch.

Copy link
Collaborator

@superajun-wsj superajun-wsj left a comment

Choose a reason for hiding this comment

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

LGTM

case vmIntrinsics::_arraySort: return inline_array_sort();
case vmIntrinsics::_arrayPartition: return inline_array_partition();

case vmIntrinsics::_compareToL: return inline_string_compareTo(StrIntrinsicNode::LL);
Copy link
Collaborator

Choose a reason for hiding this comment

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

line 291-294 look like jdk25-only

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

equals: ([C[C)Z
compareTo: ([B[B)I
getChars: ([CII[CI)V
indexOf: ([C[C)I
indexOf: ([CI[CII)I
indexOfChar: ([CIII)I
@duanyangjing duanyangjing force-pushed the cvm8+25/fix-str-intrinsics branch from 08f0243 to bddcc82 Compare November 25, 2025 02:44
@duanyangjing
Copy link
Collaborator Author

There seems to be regression in G1, GenZ mode, can we confirmed that? may have to fix it in this patch.

I've updated the average score after a series of test runs. The difference are within 1.5% range so I think it's reasonable fluctuation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants