Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated uq interpreter #4115

Open
wants to merge 64 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 28, 2021

  1. Configuration menu
    Copy the full SHA
    e99a982 View commit details
    Browse the repository at this point in the history
  2. Run eclipseformat

    kethomassen committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    8bca03d View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. Better error messages for binary arithmetic evaluations that go wrong…

    … in the interpreter.
    utting committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    f42510e View commit details
    Browse the repository at this point in the history
  2. Ignore the interpreter result for unit tests that use nodes that are …

    …not implemented yet.
    utting committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    9f0e790 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1989b54 View commit details
    Browse the repository at this point in the history
  4. Better error messages when the interpreter fails. Initialize ALL stat…

    …ic fields including private ones.
    utting committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    14e7eb7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f908ae3 View commit details
    Browse the repository at this point in the history
  6. Improve interpreter to initialize more static fields, but skip those …

    …with java.lang.reflect.InaccessibleObjectException issues.
    utting committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    ee9be5c View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Rename interpretControlFlow(_) method to interpret(_) and interpretDa…

    …taFlow(_) to interpretExpr(_). And FixedNode provides a useful default implementation of the latter.
    utting committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    8fb16e6 View commit details
    Browse the repository at this point in the history
  2. Add javadocs. Move visitMerge from interpreter into AbstractMergeNode…

    …. Make Node lookups total. Tag thrown exceptions with an unwinding flag to distinguish them from Exception objects returned normally.
    utting committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    6e7021d View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    b4f3867 View commit details
    Browse the repository at this point in the history
  2. Adding verbose tracing to interpreter execution, and experiment with …

    …supporting constant real Java objects.
    utting committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    b85b995 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. Configuration menu
    Copy the full SHA
    0ea926b View commit details
    Browse the repository at this point in the history
  2. Fix Checkstyle issues.

    utting committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    28cafec View commit details
    Browse the repository at this point in the history
  3. Merge pull request #38 from uqcyber/updated-interpreter

    Add IR Interpreter, with support for simple objects.
    utting committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    2c5eb5b View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. Fix docs and unused variable.

    utting committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    32b00d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    630d3f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01b3b84 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Configuration menu
    Copy the full SHA
    8c47dee View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Add files via upload

    WeiyiDong committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    24ffd4d View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    WeiyiDong committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    86596b9 View commit details
    Browse the repository at this point in the history
  3. Add files via upload

    please note that I delete InterperterValueConstantObject.java in my personal test environment
    WeiyiDong committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    808a888 View commit details
    Browse the repository at this point in the history
  4. Add files via upload

    WeiyiDong committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    7bdf0b8 View commit details
    Browse the repository at this point in the history
  5. Add files via upload

    WeiyiDong committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    18879d5 View commit details
    Browse the repository at this point in the history
  6. Add files via upload

    WeiyiDong committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    0be65b4 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Add files via upload

    WeiyiDong committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    2239e36 View commit details
    Browse the repository at this point in the history
  2. Add files via upload

    WeiyiDong committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    d8aa933 View commit details
    Browse the repository at this point in the history
  3. Add files via upload

    WeiyiDong committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    1fce623 View commit details
    Browse the repository at this point in the history
  4. Add files via upload

    WeiyiDong committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    24fb215 View commit details
    Browse the repository at this point in the history
  5. Add files via upload

    WeiyiDong committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    23c1d2c View commit details
    Browse the repository at this point in the history
  6. Add files via upload

    WeiyiDong committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    2338383 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. Configuration menu
    Copy the full SHA
    defb6e4 View commit details
    Browse the repository at this point in the history
  2. Removed graal.Interpreter flag testing

    Removed graal.Interpreter flag testing to enable interpreter test temporarily.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    bbfaa2f View commit details
    Browse the repository at this point in the history
  3. Fixed activation stack. Added JVMContext

    Fixed activation stack. Added JVMContext to the GraalInterpreter constructor and some other constructors. Added JVMContextImpl class. Adapted InterpreterValueFactoryImpl to native object impl of InterpreterValueMutableObject. Removed interpreter heap.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    6da4ab3 View commit details
    Browse the repository at this point in the history
  4. Added a getTypeClass() method

    Added a getTypeClass() method used by InterpreterValueMutableObject and InterpreterValueArray
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    533cddd View commit details
    Browse the repository at this point in the history
  5. Support primitive array.

    Support primitive array. When accessing array elements, convert elements from native objects into InterpreterValue back and forth.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    c397ef2 View commit details
    Browse the repository at this point in the history
  6. Use native objects

    Use native objects to implement interpreter objects. Use reflection to construct native object, and VarHandles to access fields.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    c122eae View commit details
    Browse the repository at this point in the history
  7. same with the orginal format

    same with the orginal format
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    554e34e View commit details
    Browse the repository at this point in the history
  8. Added some static methods

    Added some static methods to convert primitive values into InterpreterValuePrimitive
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    f19ef8b View commit details
    Browse the repository at this point in the history
  9. support cross-module

    Added this interface to support cross-module class loading and VarHandle use for InterpreterValueMutableObject.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    d4941e8 View commit details
    Browse the repository at this point in the history
  10. Support null constant.

    Support null constant.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    32b6b15 View commit details
    Browse the repository at this point in the history
  11. Support null constant.

    Support null constant.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    33b2b1c View commit details
    Browse the repository at this point in the history
  12. Support null constant.

    Support null constant.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    0417534 View commit details
    Browse the repository at this point in the history
  13. Removed getHeapValue() and setHeapValue().

    Removed getHeapValue() and setHeapValue().
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    2f6a8b1 View commit details
    Browse the repository at this point in the history
  14. distinguish exception

    Added this exception to distinguish interpretation exception and exception caused by interpreter malfunctioning.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    ca57777 View commit details
    Browse the repository at this point in the history
  15. Throws exception

    Throws exception if the object is null in interpreter
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    56c7870 View commit details
    Browse the repository at this point in the history
  16. Throws exception

    Throws exception if the array is null in interpreter
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    534422c View commit details
    Browse the repository at this point in the history
  17. setHeapValue() -> setNodeLookupValue()

    setHeapValue() -> setNodeLookupValue()
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    7c695f3 View commit details
    Browse the repository at this point in the history
  18. setHeapValue() -> setNodeLookupValue()

    setHeapValue() -> setNodeLookupValue()
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    388a9a0 View commit details
    Browse the repository at this point in the history
  19. setHeapValue() -> setNodeLookupValue()

    setHeapValue() -> setNodeLookupValue()
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    60d0565 View commit details
    Browse the repository at this point in the history
  20. Throws exception

    Throws exception if the object is null in interpreter
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    dba9642 View commit details
    Browse the repository at this point in the history
  21. Throws exception

    Throws exception if the array is null in interpreter
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    da21a41 View commit details
    Browse the repository at this point in the history
  22. Fixed object equality testing in interpreter.

    Fixed object equality testing in interpreter.
    WeiyiDong committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    0da070e View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    666530a View commit details
    Browse the repository at this point in the history
  2. add dependency

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    eeec480 View commit details
    Browse the repository at this point in the history
  3. use Unsafe to create object

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    b49f4bc View commit details
    Browse the repository at this point in the history
  4. use Unsafe to create object

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    7d5d7a3 View commit details
    Browse the repository at this point in the history
  5. add constructor tests

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    7d8fc69 View commit details
    Browse the repository at this point in the history
  6. Add files via upload

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    a60368b View commit details
    Browse the repository at this point in the history
  7. support cross-moudle

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    e04c556 View commit details
    Browse the repository at this point in the history
  8. Add files via upload

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    d1463e4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e54ba86 View commit details
    Browse the repository at this point in the history
  10. Throws exception

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    b358d4e View commit details
    Browse the repository at this point in the history
  11. distinguish exception

    WeiyiDong committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    8718421 View commit details
    Browse the repository at this point in the history