Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference-manual/native-image/JFR.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Otherwise, this option expects a comma-separated list of tag combinations, each

This section outlines the JFR features that are available in Native Image.

On Windows, Native Image supports local JFR recordings written to `.jfr` files. JFR emergency dumps on out-of-memory, remote JMX access to `FlightRecorderMXBean`, and JFR control through `jcmd` are not currently available on Windows.
On Windows, Native Image supports local JFR recordings written to `.jfr` files and JFR emergency dumps on out-of-memory. Remote JMX access to `FlightRecorderMXBean` and JFR control through `jcmd` are not currently available on Windows.

### Method Profiling and Stack Traces

Expand Down
2 changes: 1 addition & 1 deletion substratevm/mx.substratevm/mx_substratevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def image_demo_task(extra_image_args=None, flightrecorder=True):
helloworld(image_args + javac_command)
if '--static' not in image_args:
helloworld(image_args + ['--shared']) # Build and run helloworld as shared library
if not mx.is_windows() and flightrecorder:
if flightrecorder:
helloworld(image_args + ['-J-XX:StartFlightRecording=dumponexit=true']) # Build and run helloworld with FlightRecorder at image build time
if '--static' not in image_args:
cinterfacetutorial(extra_image_args)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -97,6 +97,23 @@ public interface itimerval extends PointerBase {

@CStruct(addStructKeyword = true)
public interface tm extends PointerBase {
@CField
int tm_sec();

@CField
int tm_min();

@CField
int tm_hour();

@CField
int tm_mday();

@CField
int tm_mon();

@CField
int tm_year();
}

@CEnum
Expand Down
Loading