Skip to content

Commit f827359

Browse files
author
Y. Srinivas Ramakrishna
committedAug 27, 2024
8339094: Shenandoah: Fix up test output from ShenandoahNumberSeqTest
Shenandoah: Fix up test output from ShenandoahNumberSeqTest Trivial change: added percentile labels on distribution; slightly adjusted format for readability. **Testing:** - [ ] make test TEST="gtest:BasicShenandoahNumberSeqTest gtest:ShenandoahNumberSeqMergeTest" w/fastdebug & release Reviewed-by: wkemper, kdnilsen
1 parent 977200a commit f827359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/hotspot/gtest/gc/shenandoah/test_shenandoahNumberSeq.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ class ShenandoahNumberSeqTest: public ::testing::Test {
5555
void print(HdrSeq& seq, const char* msg) {
5656
std::cout << "[";
5757
for (int i = 0; i <= 100; i += 10) {
58-
std::cout << "\t" << seq.percentile(i);
58+
std::cout << "\t p" << i << ":" << seq.percentile(i);
5959
}
60-
std::cout << " ] : " << msg << "\n";
60+
std::cout << "\t] : " << msg << "\n";
6161
}
6262
};
6363

2 commit comments

Comments
 (2)

earthling-amzn commented on Sep 16, 2024

@earthling-amzn
Contributor

/backport shenandoah-jdk21u

openjdk[bot] commented on Sep 16, 2024

@openjdk[bot]

@earthling-amzn the backport was successfully created on the branch backport-earthling-amzn-f8273594-master in my personal fork of openjdk/shenandoah-jdk21u. To create a pull request with this backport targeting openjdk/shenandoah-jdk21u:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit f8273594 from the openjdk/shenandoah repository.

The commit being backported was authored by Y. Srinivas Ramakrishna on 27 Aug 2024 and was reviewed by William Kemper and Kelvin Nilsen.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/shenandoah-jdk21u:

$ git fetch https://github.com/openjdk-bots/shenandoah-jdk21u.git backport-earthling-amzn-f8273594-master:backport-earthling-amzn-f8273594-master
$ git checkout backport-earthling-amzn-f8273594-master
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/shenandoah-jdk21u.git backport-earthling-amzn-f8273594-master
Please sign in to comment.