Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[mixed mode] "Hash Oracle" #11568

@lewurm

Description

@lewurm

Our currently default "Oracle" is the "AOT Oracle", aka. fullAOT+interp:

  1. AOT compile a assembly with --aot=full,interp
  2. execute runtime with --full-aot-interp.

I would like to introduce a Hash Oracle, in order to stress test the mixed mode transitions, we should have a mode that decides seemingly randomly, but in a deterministic fashion. This can be achieved by using a hash-function for a method and a seed, for example:

gboolean use_interp = (hash(method) ^ seed) / (double)INT_MAX > 0.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions