Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>2021-05-03 15:39:06 +0300
committerGitHub <noreply@github.com>2021-05-03 15:39:06 +0300
commitdfbe3aeb0941d5498b8c41b830d74b1f96f6f9db (patch)
tree30546f66502edb054de4b64148187c5cc31b86c8 /src/coreclr/inc
parent35d886bc9596e08e79a90668ec18456fd99a91b9 (diff)
Add option to instrument using 64-bit counts (#51625)
Add COMPlus_JitCollect64BitCounts which makes the JIT instrument using 64-bit counts instead of 32-bit counts. No support for consuming these counts is added, only support for producing them. I also changed the printing of relocs to include their values when diffable disassembly is off.
Diffstat (limited to 'src/coreclr/inc')
-rw-r--r--src/coreclr/inc/corjit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/coreclr/inc/corjit.h b/src/coreclr/inc/corjit.h
index 2407a407ac5..aaf4dcb646f 100644
--- a/src/coreclr/inc/corjit.h
+++ b/src/coreclr/inc/corjit.h
@@ -357,12 +357,14 @@ public:
DescriptorMin = 0x40,
Done = None, // All instrumentation schemas must end with a record which is "Done"
- BasicBlockIntCount = (DescriptorMin * 1) | FourByte, // 4 byte basic block counter, using unsigned 4 byte int
+ BasicBlockIntCount = (DescriptorMin * 1) | FourByte, // basic block counter using unsigned 4 byte int
+ BasicBlockLongCount = (DescriptorMin * 1) | EightByte, // basic block counter using unsigned 8 byte int
TypeHandleHistogramCount = (DescriptorMin * 2) | FourByte | AlignPointer, // 4 byte counter that is part of a type histogram
TypeHandleHistogramTypeHandle = (DescriptorMin * 3) | TypeHandle, // TypeHandle that is part of a type histogram
Version = (DescriptorMin * 4) | None, // Version is encoded in the Other field of the schema
NumRuns = (DescriptorMin * 5) | None, // Number of runs is encoded in the Other field of the schema
- EdgeIntCount = (DescriptorMin * 6) | FourByte, // 4 byte edge counter, using unsigned 4 byte int
+ EdgeIntCount = (DescriptorMin * 6) | FourByte, // edge counter using unsigned 4 byte int
+ EdgeLongCount = (DescriptorMin * 6) | EightByte, // edge counter using unsigned 8 byte int
GetLikelyClass = (DescriptorMin * 7) | TypeHandle, // Compressed get likely class data
};