Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

@MichalStrehovsky MichalStrehovsky commented Aug 27, 2020

Since this System.Private library depends on Console (and exists solely because CoreLib cannot reference System.Console), placing this in the libs partition.

I'm not actually porting all of System.Private.DeveloperExperience.Console - the dependency on System.Private.StackTraceGenerator was annoying so I removed it. I'm deleting System.Private.StackTraceGenerator - this only works on Windows systems that have DIA registered machine wide - that's not the case (by default) since VS 2017.

Depends on #70.

Since this System.Private library depends on Console (and exists solely because CoreLib cannot reference System.Console), placing this in the libs partition.

I'm not actually porting all of System.Private.DeveloperExperience.Console - the dependency on System.Private.StackTraceGenerator was annoying so I removed it. I'm deleting System.Private.StackTraceGenerator - this only works on Windows systems that have DIA registered machine wide - that's not the case (by default) since VS 2015.
@MichalStrehovsky MichalStrehovsky added the area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation label Aug 27, 2020
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.

Thanks!

}
}

public virtual string CreateStackTraceString(IntPtr ip, bool includeFileInfo)
Copy link
Member

Choose a reason for hiding this comment

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

This does not need to be public with virtual methods anymore.

Copy link
Member Author

Choose a reason for hiding this comment

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

It does if we want to bring back dotnet/corert#7658 at some point.

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.

LGTM otherwise

@MichalStrehovsky MichalStrehovsky merged commit e99ec01 into dotnet:NativeAOT Sep 2, 2020
@MichalStrehovsky MichalStrehovsky deleted the developerExperience branch September 2, 2020 09:28
scalablecory pushed a commit that referenced this pull request Sep 22, 2020
This change rotates the encryption key used for protecting Stateless Retry tokens every 30 seconds.
The rotation is performed in a lazy manner, to avoid needing a timer, and only actually occurs when a Stateless Retry token is being sent from the server.
In order to prevent the encryption key from being freed while in use, all callers are required to hold a global lock while using the key. This could impact performance and can be improved by either ref-counting the keys, or by having encryption keys duplicated per CPU.
The existing tests already cover Stateless Retry tokens being sent. A test case is needed for the negative case where the client responds with the token after the key for that token has been rotated.
MichalStrehovsky pushed a commit to MichalStrehovsky/runtimelab that referenced this pull request Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants