Skip to content

Conversation

@davidwrighton
Copy link
Member

  • Remove all IBC comments from the vm portion of the codebase
  • Remove m_GenericTypeDefToCanonMethodTableMap and m_MethodDefToPropertyInfoMap which were only filled in by NGen
  • Remove a variety of flags enums which are never used
  • Remove infra for testing Zap and IBC scenarios

- Remove all IBC comments from the vm portion of the codebase
- Remove `m_GenericTypeDefToCanonMethodTableMap` and `m_MehtodDefToPropertyInfoMap` which were only filled in by NGen
- Remove a variety of flags enums which are never used
- Remove infra for testing Zap and IBC  scenarios
}

//
// GetPropertyInfoForMethodDef wraps the metadata function of the same name,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// GetPropertyInfoForMethodDef wraps the metadata function of the same name,
// GetPropertyInfoForMethodDef wraps the metadata function of the same name.

//---------------------------------------------------------------------------------------
//
// Used by the JIT to determine whether the profiler or IBC is tracking object
// Used by the JIT to determine whether the profiler is tracking object
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Used by the JIT to determine whether the profiler is tracking object
// Used by the JIT to determine whether the profiler is tracking object

//
// Return Value:
// bool indicating whether the profiler or IBC is tracking object allocations
// bool indicating whether the profiler is tracking object allocations
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// bool indicating whether the profiler is tracking object allocations
// bool indicating whether the profiler is tracking object allocations

// code:ZapImportTable.EncodeModuleHelper)
// During multicorejit this calls
// code:MulticoreJitManager.EncodeModuleHelper
//
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//

///
RETAIL_CONFIG_STRING_INFO(INTERNAL_ZapBBInstr, W("ZapBBInstr"), "")
RETAIL_CONFIG_STRING_INFO(EXTERNAL_ZapBBInstrDir, W("ZapBBInstrDir"), "")
RETAIL_CONFIG_DWORD_INFO(EXTERNAL_ZapDisable, W("ZapDisable"), 0, "")
Copy link
Member

Choose a reason for hiding this comment

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

ZapDisabled is kept to maintain compatibility and is the same as ReadyToRun=0?

@davidwrighton davidwrighton merged commit e55d342 into dotnet:main Jan 12, 2024
tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
- Remove all IBC comments from the vm portion of the codebase
- Remove `m_GenericTypeDefToCanonMethodTableMap` and `m_MehtodDefToPropertyInfoMap` which were only filled in by NGen
- Remove a variety of flags enums which are never used
- Remove infra for testing Zap and IBC  scenarios
- Remove ZapDisable as @EgorBo suggested
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2024
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.

4 participants