// -----------------------------------------------------------------------------------------------------------
//
-// The subset of the contract code required by the GC/HandleTable sources. If Redhawk moves to support
+// The subset of the contract code required by the GC/HandleTable sources. If NativeAOT moves to support
// contracts these local definitions will disappear and be replaced by real implementations.
//
class Object;
class ArrayBase;
-// Various types used to refer to object references or handles. This will get more complex if we decide
-// Redhawk wants to wrap object references in the debug build.
typedef DPTR(Object) PTR_Object;
typedef DPTR(PTR_Object) PTR_PTR_Object;
//
// Bits stolen from the sync block index that the GC/HandleTable knows about (currently these are at the same
-// positions as the mainline runtime but we can change this below when it becomes apparent how Redhawk will
+// positions as the mainline runtime but we can change this below when it becomes apparent how NativeAOT will
// handle sync blocks).
#define BIT_SBLK_GC_RESERVE 0x20000000
#define BIT_SBLK_FINALIZER_RUN 0x40000000
#if defined(FEATURE_NATIVEAOT) || defined(BUILD_AS_STANDALONE)
// The GC expects the following methods that are provided by the Object class in the CLR but not provided
- // by Redhawk's version of Object.
+ // by NativeAOT's version of Object.
uint32_t GetNumComponents()
{
return ((ArrayBase *)this)->GetNumComponents();
{
// For ro segments they could always be only partially in range so we'd
// be calling this at the beginning of every BGC. We are not making this
- // more efficient right now - ro segments are currently only used by redhawk.
+ // more efficient right now - ro segments are currently only used by NativeAOT.
if (heap_segment_read_only_p (seg))
{
if ((heap_segment_mem (seg) >= lowest_address) &&
BOOL GCHeap::GcCollectClasses = FALSE;
VOLATILE(int32_t) GCHeap::m_GCFLock = 0;
-#ifndef FEATURE_NATIVEAOT // Redhawk forces relocation a different way
+#ifndef FEATURE_NATIVEAOT // NativeAOT forces relocation a different way
#ifdef STRESS_HEAP
#ifndef MULTIPLE_HEAPS
OBJECTHANDLE GCHeap::m_StressObjs[NUM_HEAP_STRESS_OBJS];
return E_FAIL;
}
-#ifndef FEATURE_NATIVEAOT // Redhawk forces relocation a different way
+#ifndef FEATURE_NATIVEAOT // NativeAOT forces relocation a different way
#if defined (STRESS_HEAP) && !defined (MULTIPLE_HEAPS)
if (GCStress<cfg_any>::IsEnabled())
{
return size( pObj ) >= loh_size_threshold;
}
-#ifndef FEATURE_NATIVEAOT // Redhawk forces relocation a different way
+#ifndef FEATURE_NATIVEAOT // NativeAOT forces relocation a different way
#ifdef STRESS_HEAP
void StressHeapDummy ();
#elif TARGET_AMD64
REGNUM_SP = REGNUM_RSP,
#elif TARGET_ARM
-#ifdef REDHAWK
- REGNUM_FP = REGNUM_R7,
-#else
REGNUM_FP = REGNUM_R11,
-#endif //REDHAWK
#elif TARGET_ARM64
//Nothing to do here. FP is already alloted.
#elif TARGET_LOONGARCH64
#include "shash.h"
#include "eventtracepriv.h"
#include "shash.inl"
-#include "palredhawk.h"
#if defined(FEATURE_EVENT_TRACE)
ETF_DynamicThreadStaticOffset,
}
- // Subset of the managed TypeFlags enum understood by Redhawk.
+ // Subset of the managed TypeFlags enum understood by the runtime.
// This should match the values in the TypeFlags enum except for the special
// entry that marks System.Array specifically.
internal enum EETypeElementType
#include "commontypes.h"
#include "daccess.h"
#include "debugmacrosext.h"
-#include "palredhawkcommon.h"
#include "gcrhenv.h"
#define Win32EventWrite PalEtwEventWrite
#define InterlockedExchange64 PalInterlockedExchange64
#ifdef FEATURE_NATIVEAOT
PTR_UIntNative* ppRax = &pRD->pRax;
- if (regNum > 4) regNum--; // rsp is skipped in Redhawk RegDisplay
+ if (regNum > 4) regNum--; // rsp is skipped in NativeAOT RegDisplay
#else
// The fields of KNONVOLATILE_CONTEXT_POINTERS are in the same order as
// the processor encoding numbers.
{
mv_Obj = new BaseFinal();
- //Printing GetTotalMemory is commented out so that the test can build on RedHawk
- //Console.WriteLine("before test started, the heapsize is {0}", GC.GetTotalMemory(false));
+ Console.WriteLine("before starting the test, heap size is {0}", GC.GetTotalMemory(false));
for( int i=1; i< 1000; i++)
{