Skip to content

Conversation

@kouvel
Copy link
Contributor

@kouvel kouvel commented May 24, 2021

  • Renamed *wasTier0Jit to wasTier0 to include pregenerated code that is loaded, which is considered tier 0
  • Added a subset of FinalizeOptimizationTierForTier0Jit as FinalizeOptimizationTierForTier0Load to set the wasTier0 flag so that those methods would be call-counted for tiering when MCJ-loaded code is used, and updated the relevant code
  • Moved recording of loaded method code to after a successful SetNativeCode() to prevent duplicate recordings of the same method in multi-threaded races
  • Enabled MulticoreJitPrepareCodeConfig to look up pregenerated code to parallelize that work

Intended to be incorporated into #52595

gbalykov and others added 2 commits May 14, 2021 11:47
…back R2R'ed code

- Renamed `*wasTier0Jit` to `wasTier0` to include pregenerated code that is loaded, which is considered tier 0
- Added a subset of `FinalizeOptimizationTierForTier0Jit` as `FinalizeOptimizationTierForTier0Load` to set the `wasTier0` flag so that those methods would be call-counted for tiering when MCJ-loaded code is used, and updated the relevant code
- Moved recording of loaded method code to after a successful `SetNativeCode()` to prevent duplicate recordings of the same method in multi-threaded races
- Enabled `MulticoreJitPrepareCodeConfig` to look up pregenerated code to parallelize that work
@kouvel kouvel self-assigned this May 24, 2021
@kouvel kouvel closed this May 24, 2021
@kouvel kouvel deleted the McjFixForR2r branch June 4, 2021 19:54
@ghost ghost locked as resolved and limited conversation to collaborators Jul 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants