Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

AndyAyersMS
Copy link
Member

In #3051 the jit started calling eeGetClassFullName for both caller and callee handles
even when dumping was disabled, passed this information to
the logging messages where previously the caller and callee were
identified via other context, and prepared the full name dump artifacts
for all inline decisions rather than the selective cases handled
previously.

This change caused excessive memory use in some tests.

This change makes the calls to eeGetClassFullName conditional on
whether dumping is enabled, and does not require these calls for logging
messages.

In dotnet#3051 the jit started calling `eeGetClassFullName` for both
caller and callee handles even when dumping was disabled, passed
this information to the logging messages where previously the caller
and callee were identified via other context, and prepared the full
name dump artifacts for all inline decisions rather than the selective
cases handled previously.

This change caused excessive memory use in some tests.

This change makes the calls to `eeGetClassFullName` conditional on
whether dumping is enabled, and does not require these calls for logging
messages.
@AndyAyersMS
Copy link
Member Author

@BruceForstall PTAL. This fixes the issues you reported to me privately.

Note this interacts with #3196. I'll get this in first and then propagate the change there.

@BruceForstall
Copy link

👍 LGTM

AndyAyersMS added a commit that referenced this pull request Feb 17, 2016
Fix issue with excessive memory use by debug and checked jits
@AndyAyersMS AndyAyersMS merged commit 89c4544 into dotnet:master Feb 17, 2016
@AndyAyersMS AndyAyersMS deleted the FixJitMemoryUsage branch February 17, 2016 18:04
@briansull
Copy link

LGTM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants