Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vmishenev
Copy link
Contributor

No description provided.

@vmishenev vmishenev changed the title Make more aggressive GC in BasicGradleIntegrationTest Make GC more aggressive in BasicGradleIntegrationTest Sep 3, 2025
@vmishenev vmishenev requested a review from whyoleg September 4, 2025 09:40
@vmishenev vmishenev marked this pull request as ready for review September 4, 2025 09:40
Copy link
Collaborator

@whyoleg whyoleg left a comment

Choose a reason for hiding this comment

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

Do you think, maybe it makes sense to just set "-XX:SoftRefLRUPolicyMSPerMB=10" as default arguments in tests?

@vmishenev vmishenev requested a review from whyoleg September 4, 2025 11:52
Copy link
Collaborator

@whyoleg whyoleg left a comment

Choose a reason for hiding this comment

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

It's good to go, comments are mostly about some cleanup which could be done

vararg arguments: String,
jvmArgs: List<String> = listOf("-Xmx2G", "-XX:MaxMetaspaceSize=1G"),
jvmArgs: List<String> = listOf("-Xmx2G", "-XX:MaxMetaspaceSize=800m",
"-XX:SoftRefLRUPolicyMSPerMB=10" // to free up the metaspace on JVM 8, see https://youtrack.jetbrains.com/issue/KT-55831/
Copy link
Collaborator

Choose a reason for hiding this comment

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

TBH, I was thinking about just providing this argument explicitly to withJvmArguments function call below in addition to jvmArgs, so that we don't need to repeat it, if we need to override other jvmArgs for test
WDYT?

"dokkaJavadoc",
"dokkaGfm",
"dokkaJekyll",
jvmArgs = listOf(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can it be removed? And in all other places?

@vmishenev vmishenev force-pushed the vmishenev/Make-more-aggressive-GC-in-BasicGradleIntegrationTest branch 3 times, most recently from a66dfe0 to 618d22d Compare September 4, 2025 13:24
@vmishenev vmishenev force-pushed the vmishenev/Make-more-aggressive-GC-in-BasicGradleIntegrationTest branch from 618d22d to b524276 Compare September 4, 2025 13:24
@vmishenev vmishenev changed the title Make GC more aggressive in BasicGradleIntegrationTest Make GC more aggressive in integration tests Sep 4, 2025
@vmishenev vmishenev merged commit ef58e02 into master Sep 4, 2025
14 checks passed
@vmishenev vmishenev deleted the vmishenev/Make-more-aggressive-GC-in-BasicGradleIntegrationTest branch September 4, 2025 20:35
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.

3 participants