Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new API to generate a Unity-like callstack into a memory buffer #1256

Merged
merged 2 commits into from
Feb 20, 2020

Conversation

deplinenoise
Copy link

The intent of this is to reduce GC pressure when logging a lot in the Unity editor by doing the string formatting in native code directly from Mono.

@unity-cla-assistant
Copy link
Collaborator

unity-cla-assistant commented Feb 14, 2020

CLA assistant check
All committers have signed the CLA.

QuickDumpUserData *ud = (QuickDumpUserData *)data;

if (managed && method) {
char *method_name = mono_method_full_name (method, TRUE);
Copy link
Member

Choose a reason for hiding this comment

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

Note to myself, we should provide a no-alloc or temp alloc version of this and similar functions.

mono/metadata/threads.c Outdated Show resolved Hide resolved
@deplinenoise deplinenoise merged commit f954ad9 into unity-master Feb 20, 2020
UnityAlex pushed a commit that referenced this pull request Mar 27, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Mar 31, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Apr 13, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Apr 21, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Apr 28, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request May 5, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request May 15, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request May 21, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Jun 10, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Jul 1, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Jul 17, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Jul 31, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Aug 14, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Sep 24, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Oct 30, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Nov 13, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Dec 22, 2020
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Jan 29, 2021
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Feb 5, 2021
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Feb 12, 2021
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Feb 22, 2021
…#1256)

* Add a new API to generate a callstack into a memory buffer
UnityAlex pushed a commit that referenced this pull request Mar 16, 2021
…#1256)

* Add a new API to generate a callstack into a memory buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants