Skip to content

Conversation

@huoyaoyuan
Copy link
Member

No description provided.

@ghost ghost added the area-PAL-coreclr label Mar 13, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 13, 2025
return E_FAIL;
}
#else // TARGET_WINDOWS
assert(!copyJit);
Copy link
Member Author

Choose a reason for hiding this comment

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

copyJit is always passed as false. Even if we do use it in the future, std::filesystem::copy should be better alternative.

Copy link
Member

Choose a reason for hiding this comment

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

Delete the copyJit argument since it is unused?

@huoyaoyuan
Copy link
Member Author

Failure looks unrelated. Helix sends Not Found for the console log.


bool JitInstance::reLoad(MethodContext* firstContext)
{
FreeLibrary(hLib);
Copy link
Member

Choose a reason for hiding this comment

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

JitInstance::reLoad looks like a dead code and it can be deleted. Once you do that, PathToOriginalJit field becomes unused and it can be deleted too.

Copy link
Member Author

Choose a reason for hiding this comment

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

@dotnet/jit-contrib Any comment on the functionality of superpmi?

Copy link
Contributor

Choose a reason for hiding this comment

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

As stated, reLoad can be deleted since it is dead code.

@BruceForstall BruceForstall requested a review from jkotas March 18, 2025 04:50
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thank you!

@jkotas jkotas merged commit 5226375 into dotnet:main Mar 19, 2025
100 checks passed
@huoyaoyuan huoyaoyuan deleted the pal-file branch March 19, 2025 07:56
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-PAL-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants