Skip to content

[Java] JIT serializer for object graph serialization #235

@chaokunyang

Description

@chaokunyang

Is your feature request related to a problem? Please describe.

We've implemented feature-complete serialization for object graph, but it's interpreter mode, which will incur:

  • extra memory access for query serializer
  • extra memory access for query classinfo
  • extra memory access for query field offset
  • virtual method invocation.
  • conditional branching.
  • hash lookup.

Since class has field has types, we can use those type information to generate serializer on the flight to speed the serialization, reduce above cost.

Describe the solution you'd like

Use #28 to create serializer on the flight to speedup the serialization

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions