src/os_cpu/windows_x86/vm/os_windows_x86.cpp

changeset 2103
3e8fbc61cee8
parent 2036
126ea7725993
child 2262
1e9a9d2e6509
     1.1 --- a/src/os_cpu/windows_x86/vm/os_windows_x86.cpp	Mon Aug 23 09:09:36 2010 -0700
     1.2 +++ b/src/os_cpu/windows_x86/vm/os_windows_x86.cpp	Wed Aug 25 05:27:54 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -149,8 +149,8 @@
    1.11    // If we are using Vectored Exceptions we don't need this registration
    1.12    if (UseVectoredExceptions) return true;
    1.13  
    1.14 -  BufferBlob* b = BufferBlob::create("CodeCache Exception Handler", sizeof (DynamicCodeData));
    1.15 -  CodeBuffer cb(b->instructions_begin(), b->instructions_size());
    1.16 +  BufferBlob* blob = BufferBlob::create("CodeCache Exception Handler", sizeof(DynamicCodeData));
    1.17 +  CodeBuffer cb(blob);
    1.18    MacroAssembler* masm = new MacroAssembler(&cb);
    1.19    pDCD = (pDynamicCodeData) masm->pc();
    1.20  

mercurial