Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-3236

The logic for allocating receive buffer is complex and can be optimized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.2.0
    • None
    • dtm
    • None

    Description

      In the code file: core/sqf/src/tm/tm.cpp

      In the function definition of line 2788, there are two buffer definitions, la_recv_buffer and la_recv_buffer_ddl. Maybe we can avoid dynamically assigning la_recv_buffer_ddl. It is enough to use only la_recv_buffer, which simplifies the logic and reduces the heap pressure.

       

      Attachments

        Activity

          People

            09Heng Guo Heng
            09Heng Guo Heng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: