Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11115

Binary: rework thread-local binary context to avoid set() operation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • binary

    Description

      Currently we call ThreadLocal.set() on every serialization/deserialization (see GridBinaryMarshaller#BINARY_CTX usages). This may lead to high CPU usage, especially during SQL query execution.
      Let's refactor access patterns to work only with ThreadLocal.get() operation.

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m