Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8014972

Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: hs25
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b40

      Backports

        Description

        Crash when starting up JVM with specific JVM arguments: -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k. Both, -client and -server are affected.

        The problem is in "AbstractICache::initialize()". BufferBlob::create() returns NULL.

        void AbstractICache::initialize() {
          // Making this stub must be FIRST use of assembler
          ResourceMark rm;

          BufferBlob* b = BufferBlob::create("flush_icache_stub", ICache::stub_size);
          CodeBuffer c(b);
          ICacheStubGenerator g(&c);
          g.generate_icache_flush(&_flush_icache_stub);

        ....

        }


          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  anoll Albert Noll (Inactive)
                  Reporter:
                  anoll Albert Noll (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: