Skip to content

Commit

Permalink
8317987: C2 recompilations cause high memory footprint
Browse files Browse the repository at this point in the history
Reviewed-by: adinn, kvn
  • Loading branch information
tstuefe committed Oct 13, 2023
1 parent 993951b commit c88b387
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/share/opto/c2compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ void C2Compiler::compile_method(ciEnv* env, ciMethod* target, int entry_bci, boo
bool do_superword = UseSuperWord;

while (!env->failing()) {
ResourceMark rm;
// Attempt to compile while subsuming loads into machine instructions.
Options options(subsume_loads,
do_escape_analysis,
Expand Down

3 comments on commit c88b387

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@tstuefe
Copy link
Member Author

Choose a reason for hiding this comment

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

/backport jdk21u

@openjdk
Copy link

@openjdk openjdk bot commented on c88b387 Oct 13, 2023

Choose a reason for hiding this comment

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

@tstuefe the backport was successfully created on the branch tstuefe-backport-c88b3878 in my personal fork of openjdk/jdk21u. To create a pull request with this backport targeting openjdk/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 c88b3878 from the openjdk/jdk repository.

The commit being backported was authored by Thomas Stuefe on 13 Oct 2023 and was reviewed by Andrew Dinn and Vladimir Kozlov.

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/jdk21u:

$ git fetch https://github.com/openjdk-bots/jdk21u.git tstuefe-backport-c88b3878:tstuefe-backport-c88b3878
$ git checkout tstuefe-backport-c88b3878
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk21u.git tstuefe-backport-c88b3878

Please sign in to comment.