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

[Memoryprofiler] Exposing required mono API for backend migration #1206

Merged
merged 8 commits into from
Jul 29, 2019

Commits on Jul 16, 2019

  1. Configuration menu
    Copy the full SHA
    ed7cfab View commit details
    Browse the repository at this point in the history
  2. added mono_unity_class_for_each in order to allow for simple iteratio…

    …n logic over all initialized classes in the VM
    realek committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    5c1f1cd View commit details
    Browse the repository at this point in the history
  3. added mono_type_get_name_chunked in order to report type names in nul…

    …l terminated chunks.
    
    A good example for this can be using a preallocated instance of core::string as user_data for the callback which will then append onto the preallocated string
    realek committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    90fe44f View commit details
    Browse the repository at this point in the history
  4. added mono_unity_image_set_mempool_chunk_foreach in order to report m…

    …emory blocks from the VM heap
    
    added mono_unity_domain_mempool_chunk_foreach in order to report memory blocks inside the current domain's memory pool
    added mono_unity_root_domain_mempool_chunk_foreach in order to report memory blocks inside the root domain's memory pool
    added mono_unity_assembly_mempool_chunk_foreach in order to report memory blocks inside an assembly's image's memory pool
    added mono_unity_class_get_data_size in order to return static field data size for a MonoClass
    added mono_unity_class_get_static_field_data in order to access static fields memory for a given MonoClass
    added mono_unity_class_field_is_literal in order to find out if the attributes
    added mono_unity_start/stop_gc_world() in order to control the GC world state
    added mono_unity_gc_heap_foreach in order to report each allocated GC heap section
    added mono_unity_gchandles_foreach_get_target in order to report all gc handle targets tracked by the garbage collector
    added mono_unity_object_header_size in order to report mono object header size
    added mono_unity_array_object_header_size in order to report mono array object header size
    added mono_unity_offset_of_array_length/bounds_in_array_object_header in order to report the offset of the length/bounds of the array within the header
    added mono_unity_allocation_granularity in order to report the minimum allocation granulariy inside the vm
    added mono_unity_get_name_full_chunked in order to extract a types name in chunks
    added mono_unity_type_is_static in order to report if the given type is static
    added mono_unity_type_is_pointer_type in order to report if the given type is a pointer type
    realek committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    ebfcd51 View commit details
    Browse the repository at this point in the history
  5. added missing include

    realek committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    7c9abea View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. fixed up missing user_data assignment during context initialization f…

    …or mono_unity_class_for_each
    realek committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    823b307 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. Configuration menu
    Copy the full SHA
    ceed447 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2019

  1. Configuration menu
    Copy the full SHA
    ac5dab2 View commit details
    Browse the repository at this point in the history