RVM
  1. RVM
  2. RVM-919

NPE when using -X:base:invocation_counters=true

    Details

    • Number of attachments :
      0

      Description

      When using the -X:base:invocation_counters=true command line option (production build, AOS enabled), the following NullPointerException ensues, since plan.getCompPlan().options is null.

      java.lang.NullPointerException
      java.lang.NullPointerException
      at org.jikesrvm.adaptive.controller.ControllerMemory.insert(ControllerMemory.java:109)
      at org.jikesrvm.adaptive.controller.ControllerPlan.execute(ControllerPlan.java:146)
      at org.jikesrvm.adaptive.recompilation.InvocationCounts.counterTripped(InvocationCounts.java:76)
      at dacapo.parser.SimpleCharStream.readChar(SimpleCharStream.java:193)
      at dacapo.parser.ConfigFileTokenManager.jjMoveNfa_0(ConfigFileTokenManager.java:769)
      at dacapo.parser.ConfigFileTokenManager.jjMoveStringLiteralDfa0_0(ConfigFileTokenManager.java:176)
      at dacapo.parser.ConfigFileTokenManager.getNextToken(ConfigFileTokenManager.java:1044)
      at dacapo.parser.ConfigFile.jj_ntk(ConfigFile.java:483)
      at dacapo.parser.ConfigFile.outputClause(ConfigFile.java:211)
      at dacapo.parser.ConfigFile.outputFile(ConfigFile.java:202)
      at dacapo.parser.ConfigFile.sizeClause(ConfigFile.java:146)
      at dacapo.parser.ConfigFile.sizeSpec(ConfigFile.java:99)
      at dacapo.parser.ConfigFile.configFile(ConfigFile.java:39)
      at dacapo.parser.Config.parse(Config.java:198)
      at dacapo.TestHarness.<init>(TestHarness.java:407)
      at dacapo.TestHarness.main(TestHarness.java:233)
      at Harness.main(Harness.java:5)

        Activity

        Hide
        David Grove added a comment -

        bulk defer to 3.1.4

        Show
        David Grove added a comment - bulk defer to 3.1.4

          People

          • Assignee:
            Unassigned
            Reporter:
            Andreas Sewe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: