1. 15 1月, 2021 6 次提交
  2. 14 1月, 2021 21 次提交
    • J
    • A
      Prefer ucontext.h over sys/ucontext.h (#46790) · 796cbeee
      Adeel Mujahid 提交于
      * Prefer ucontext.h over sys/ucontext.h
      
      * Cleanup redundant _XOPEN_SOURCE definitions
      
      * Remove unused makefile from PAL tests
      796cbeee
    • J
    • S
      Fix TestsManifestGeneration test again (#46928) · 3268d09a
      Sung Yoon Whang 提交于
      * Add more sleeps after flush
      
      * remove sleeps and add retry loop
      
      * Fix build
      3268d09a
    • B
      Do a JIT rolling build if the JIT-EE GUID changes (#46963) · a1c40287
      Bruce Forstall 提交于
      Normally, any JIT-EE GUID change would be accompanied by
      a change in the JIT source code, so a JIT build would be
      kicked off. But in some cases, such as a change in the
      SuperPMI data format to cause an incompatible format, with
      a manual change of the GUID to compensate, should also
      kick off a JIT build so asmdiff baselines have a JIT
      with an appropriate GUID.
      a1c40287
    • D
      Update dependencies from https://github.com/dotnet/xharness build 20210113.1 (#46929) · e3d7e989
      dotnet-maestro[bot] 提交于
      [master] Update dependencies from dotnet/xharness
      e3d7e989
    • S
      Fix data breakpoint issues (#46763) · 1d1a0f20
      Steve MacLean 提交于
      * Ignore data breakpoint during GC
      * Simplify disabling DebuggerDataBreakpoint during GC
      * Fix destroy pinned handle
      * Fix CordbModule::IsMappedLayout  assert to allow using VS with debug/checked runtime builds
      Co-authored-by: NChuck Ries <chuckr@microsoft.com>
      1d1a0f20
    • D
      Update dependencies from https://github.com/mono/linker build 20210113.3 (#46937) · 863b326f
      dotnet-maestro[bot] 提交于
      [master] Update dependencies from mono/linker
      863b326f
    • V
      signable single file apps on mac (#46558) · 038d5ecb
      Vladimir Sadov 提交于
      * extend the __LINKEDIT. section to cover the single-exe metadata.
      
      * codesign test
      038d5ecb
    • S
      MacOS-arm64 Fix libdebugshim search path (#46932) · 662f306a
      Steve MacLean 提交于
      662f306a
    • D
      Phase 1 of refactoring pgo data pipeline (#46638) · 6ded57b3
      David Wrighton 提交于
      Phase 1 of replacing existing infrastructure around handling of pgo data with more flexible schema based approach.
      
      The schema based approach allows the JIT to define the form of data needed for instrumentation.
      - The schema associates 4 32bit integers with each data collection point (ILOffset, InstrumentationKind, Count, and Other)
        - Rich meaning is attached to InstrumentationKind, and Count
          - InstrumentationKind defines the size and layout of individual instrumentation data items
          - Count allows a single schema item to be repeated
        - ILOffset and Other are not processed in any specific way by the infrastructure
      
      Changes part of this phase
      - PgoManager holds arbitrary amount of pgo data instead of a slab
        - Aware of collectible assemblies
        - Match with pgo data utilizes hash of IL body in addition to IL size information for greater accuracy in match
      - JIT no longer uses block count apis, and instead uses schema based apis
        - JIT now explicitly defines the shape of data collected for both basic block and type probes
        - The rest of the system handles that without deep knowledge of what those formats are
      - Text file format for pgo data updated
      - Existing IBC infrastructure adjusted to speak in terms of schema concept
      - Uncompressed and binary encoded implementation of Pgo schema handling
      - Update SuperPMI to handle new apis
      
      Future Changes for static Pgo
      - Move Pgo type handle histogram processing into JIT
      - Extract Pgo data from process using Event infrastructure
      - Triggers for controlling Pgo data extraction
      - Instrumented Pgo processing as part of dotnet-pgo tool
      - Pgo data flow in crossgen2
      6ded57b3
    • D
      Fix sync issue in profiler tests (#46907) · fd744a8f
      David Mason 提交于
      fd744a8f
    • J
      Rewrite ARM64 IJW bootstrap thunk assembly. (#46933) · d7def35b
      Jeremy Koritzinsky 提交于
      * Rewrite ARM64 IJW bootstrap thunk.
      
      * Fix alignment.
      d7def35b
    • T
      [wasm] Add support for AOT profiling, and add a `browser-profile` sample (#45910) · 2d444810
      Tammy Qiu 提交于
      * Enable AOT Profiler
      
      * Add a `browser-profile` sample
      
      * Clean up Makefile add AotInterp mode to MonoAotMode
      
      * move the shared make logic to wasm.mk
      Co-authored-by: NSteve Pfister <steveisok@users.noreply.github.com>
      Co-authored-by: NAnkit Jain <radical@gmail.com>
      2d444810
    • A
      [wasm][debugger][tests] Refactor test harness to support simpler test code (#44987) · 0c7dde5d
      Ankit Jain 提交于
      * [wasm][debugger] Move DevToolsQueue to a separate file
      
      * Move Inspector to separate file, mv Support.cs=>DebuggerTest.cs
      
      * [wasm][debugger][tests] Some improvements to DevToolsQueue
      
      - `Pump` -> `TryPump`
      - use a ConcurrentQueue instead of a List, for tracking the pending
      requests.
      
      DevToolsClient:
      - use DevToolsQueue, and remove the redundant code.
      - Wake up the runloop when a new send task gets added
      
      * [wasm][debugger] Check Proxy's client_initiated_close early
      
      - this allows the proxy to shutdown quicker, and not have to wait for
      the other tasks to get scheduled.
      
      - Fixes the issue of chrome processes left around.
      
      * [wasm][debugger][tests] Inspector - handle event being received before a waiter
      
      .. gets added.
      
      This handles the case where `NotifyOf` gets invoked before a
      corresponding `WaitFor` gets called.
      
      * [wasm][debugger][tests] Refactor test harness to support simpler test code
      
      Problem:
      
      - Currently, test methods must call `insp.Ready(..)` with a
      callback. And `Ready` takes care of the init, and shutdown for
      the proxy, and browser.
      
      - But this means that we have to repeat that boiler plate code in all
      the test methods. And the stack traces are deeply nested.
      
      - Instead, we want to have the *test method* contain only the test
      specific code.
      
      Solution:
      
      - we want to do that by using xunit's `IAsyncLifetime`, with
      methods:
      	- `InitializeAsync` - setup proxy+browser here
      	- `DisposeAsync` - shutdown
      
      - This would mean that when the *test method* runs, it already has
      everything set up, so the code can be just specific to the actual test.
      
      Implementation:
      
      - Improve DevToolsClient's RunLoop, to support this
      	- Tries to handle shutdown/close requests explicitly, and not throw
      	errors in such cases
      
      	- Adds a `RunLoopStopped` event, which gets invoked with the reason due
      	to which it stopped. Eg - Exception getting thrown, cancellation,
      	shutdown request etc.
      
      	- With `insp.Ready(..)`, the whole setup (launch proxy, browser,
      	run test code) happens from the same *test method*. But here we
      	are doing it at separate times, from different methods, and it's
      	all async.
      		- IOW, there are multiple places where failure can
      		happen, and we need to explicitly propogate that, and
      		fail the appropriate listeners/tasks/etc
      		-> causing the test to correctly fail.
      
      Note: This does not change *any* actual test code! The `Ready` method is
      adjusted to use the new init/shutdown bits.
      Subsequent commits will make the test changes.
      
      * [wasm][debugger][tests] Port some tests to the simpler test harness bits
      
      We add a `SingleSessionTestBase` class, which implements
      `IAsyncLifetime` to init/shutdown the proxy+browser outside the test
      methods.
      
      And port `HarnessTests`, and `SteppingTests` to that.
      
      Added a few more tests to `HarnessTests`, to check for common cases like
      test methods throwing exceptions, or timing out, or commands failing
      etc.
      	- This is needed because with the older `insp.Ready` API, the
      	whole thing was called from the test method, so failures would
      	correctly fail the test.
      
      	- But now we do these things in separate steps, so failing the
      	test requires a bit more work in the harness.
      
      Note: I didn't port all the tests in one go, to make the review a bit
      simpler. A subsequent PR can move rest of the tests over, and do some
      cleanup that it would afford.
      
      * [wasm][debugger][tests] Fix race in ExceptionThrownInJSOutOfBand test
      
      Fix the race where the `Runtime.exceptionThrown` message can be received
      before the test calls `WaitFor`, causing it to get missed.
      
      * [wasm][debugger] Formatting fixes on the changes
      
      * Remove unncessary AssertHelpers.ThrowsAsync
      
      Suggested by @lewing !
      
      * [wasm][debugger][tests] Fix a race when sending messages
      
      DevToolsClient.Send adds to `pending_ops`, which can happen while the
      list is being modified in `RunLoop`.
      
      Fix: Since, we need to modify it outside `RunLoop` only when a new send
      task is available, we can let `RunLoop` itself add it to the list. And use
      a taskCompletionSource to wake up the loop.
      0c7dde5d
    • S
    • S
      Fix MS.NETCore.App.Bundle on osx-arm64 (#46878) · 3ddde4c9
      Steve MacLean 提交于
      3ddde4c9
    • V
      Enable host tests on OSX (#46640) · 7b993282
      Vladimir Sadov 提交于
      * Enable host tests on OSX
      
      * initialize Ssl shim on demand
      
      * fix OpenSsl.Tests
      
      * partial modifier
      
      * fixed Cryptography.Algorithms
      
      * first to dlopen libssl wins
      7b993282
    • D
      Set official build value to false (#46834) · 6be6aad7
      Drew Scoggins 提交于
      * Set official build value to false
      
      * Add pr trigger
      
      * Remove PR
      6be6aad7
    • T
      Adding support for ReciprocalEstimate and ReciprocalSqrtEstimate (#46692) · 40a9c55a
      Tanner Gooding 提交于
      * Adding support for ReciprocalEstimate and ReciprocalSqrtEstimate
      
      * Adding basic documentation comments to the new Math.ReciprocalEstimate functions
      
      * Increasing the epsilon for estimated functions to account for ARM64 only doing a single Newton-Raphson iteration
      40a9c55a
    • M
      Don't assume presence of MonoResolveUnmanagedDllUsingEvent method (#46917) · ed7d2fb1
      Marek Safar 提交于
      Follow up change missing in #46323
      
      Fixes #46908
      ed7d2fb1
  3. 13 1月, 2021 13 次提交