Changeset 391


Ignore:
Timestamp:
Jul 7, 2012, 2:02:39 AM (13 years ago)
Author:
dmik
Message:

hotspot: Initialize Decoder to satisfy assertion.

The os::dll_address_to_function_name() function can be called at any time
so Decoder should be initialized. For some reason this was not done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp

    r342 r391  
    14371437bool os::dll_address_to_function_name(address addr, char *buf,
    14381438                                      int buflen, int *offset) {
     1439  // make sure decoder is initialized
     1440  Decoder::initialize();
     1441
    14391442  if (Decoder::decode(addr, buf, buflen, offset) == Decoder::no_error) {
    14401443    return true;
Note: See TracChangeset for help on using the changeset viewer.