Skip to content

Commit

Permalink
8275333: Print count in "Too many recored phases?" assert
Browse files Browse the repository at this point in the history
Reviewed-by: eosterlund, tschatzl
  • Loading branch information
stefank committed Oct 18, 2021
1 parent ebb1363 commit 45ebf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shared/gcTimer.cpp
Expand Up @@ -130,7 +130,7 @@ void TimePartitions::clear() {
}

void TimePartitions::report_gc_phase_start(const char* name, const Ticks& time, GCPhase::PhaseType type) {
assert(_phases->length() <= 1000, "Too many recored phases?");
assert(_phases->length() <= 1000, "Too many recorded phases? (count: %d)", _phases->length());

int level = _active_phases.count();

Expand Down

3 comments on commit 45ebf85

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on 45ebf85 Oct 20, 2023

Choose a reason for hiding this comment

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

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 45ebf85 Oct 20, 2023

Choose a reason for hiding this comment

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

@GoeLin the backport was successfully created on the branch GoeLin-backport-45ebf85c in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev: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 45ebf85c from the openjdk/jdk repository.

The commit being backported was authored by Stefan Karlsson on 18 Oct 2021 and was reviewed by Erik Österlund and Thomas Schatzl.

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/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev.git GoeLin-backport-45ebf85c:GoeLin-backport-45ebf85c
$ git checkout GoeLin-backport-45ebf85c
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev.git GoeLin-backport-45ebf85c

Please sign in to comment.